Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 107.4 kB / 17.15 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 55.92 kB / 280 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.08621, allocations: 46.63 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01733/0.1036, allocations: 16.37 MB / 343 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.1142, allocations: 5.391 MB / 348.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.1174, allocations: 87.62 kB / 348.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003725/0.1212, allocations: 1.081 MB / 349.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0052/0.1264, allocations: 1.434 MB / 351 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.1293, allocations: 0.9826 MB / 352 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006962/0.1363, allocations: 5.308 MB / 357.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.1406, allocations: 3.184 MB / 360.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.1434, allocations: 1.841 MB / 362.3 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003566/0.147, allocations: 2.432 MB / 364.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009261/0.148, allocations: 368 kB / 365.1 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.1498, allocations: 0.5935 MB / 365.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.1509, allocations: 1.156 MB / 366.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002872/0.1538, allocations: 2.348 MB / 369.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007227/0.1611, allocations: 7.82 MB / 377 MB, free: 2.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1611, allocations: 4 kB / 377 MB, free: 2.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1611, allocations: 0 / 377 MB, free: 2.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001994/0.1613, allocations: 0 / 377 MB, free: 2.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.1702/0.3315, allocations: 5.362 MB / 382.4 MB, free: 48.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.3316, allocations: 9.594 kB / 382.4 MB, free: 48.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005602/0.3372, allocations: 1.003 MB / 383.4 MB, free: 47.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005194/0.3424, allocations: 2.694 MB / 386.1 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.3427, allocations: 309.2 kB / 386.4 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006301/0.3433, allocations: 399.4 kB / 386.8 MB, free: 45.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008879/0.3522, allocations: 5.212 MB / 392 MB, free: 43.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.574e-05/0.3523, allocations: 11.81 kB / 392 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/0.3526, allocations: 167.4 kB / 392.2 MB, free: 43.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.3528, allocations: 174.1 kB / 392.3 MB, free: 43.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006726/0.3595, allocations: 4.445 MB / 396.8 MB, free: 41.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02176/0.3813, allocations: 16.83 MB / 413.6 MB, free: 25.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005165/0.3865, allocations: 8.413 MB / 422 MB, free: 16.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.3889, allocations: 1.713 MB / 423.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007061/0.3959, allocations: 4.996 MB / 428.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.396, allocations: 47.88 kB / 428.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=156): time 3.366e-06/0.396, allocations: 0 / 428.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=159): time 0.01115/0.4072, allocations: 6.119 MB / 434.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.4073, allocations: 68.72 kB / 435 MB, free: 3.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.4104, allocations: 2.321 MB / 437.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.4106, allocations: 53.7 kB / 437.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.4119, allocations: 1.839 MB / 439.2 MB, free: 15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005854/0.4125, allocations: 0.5477 MB / 439.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006339/0.4131, allocations: 391.6 kB / 440.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4133, allocations: 305.1 kB / 440.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.4149, allocations: 0.8475 MB / 441.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.417, allocations: 1.56 MB / 442.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/0.4207, allocations: 2.563 MB / 445.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.4207, allocations: 4 kB / 445.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005229/0.4259, allocations: 2.895 MB / 448.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.426, allocations: 15.12 kB / 448.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.76e-05/0.426, allocations: 27.94 kB / 448.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.4265, allocations: 125.7 kB / 448.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.4286, allocations: 0.5423 MB / 449 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.4305, allocations: 1.814 MB / 450.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.4326, allocations: 107.9 kB / 450.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.4329, allocations: 104 kB / 451 MB, free: 2.344 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002378/0.4352, allocations: 1.188 MB / 452.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005626/0.4358, allocations: 245 kB / 452.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.4403, allocations: 2.448 MB / 454.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.4404, allocations: 19.98 kB / 454.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.4404, allocations: 4 kB / 454.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.4404, allocations: 11.91 kB / 454.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.4507, allocations: 5.8 MB / 460.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.4507, allocations: 4 kB / 460.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.452, allocations: 287.8 kB / 461 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009222/0.4529, allocations: 322.3 kB / 461.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.4531, allocations: 39.98 kB / 461.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006385/0.4595, allocations: 6.395 MB / 467.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.4595, allocations: 4.031 kB / 467.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006056/0.4656, allocations: 3.559 MB / 471.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.4672, allocations: 0.4902 MB / 471.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007923/0.468, allocations: 43.94 kB / 471.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/0.4696, allocations: 79.92 kB / 471.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/0.47, allocations: 121.1 kB / 472 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.4702, allocations: 44.11 kB / 472.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00327/0.4734, allocations: 1.572 MB / 473.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4735, allocations: 0 / 473.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002792/0.4762, allocations: 0.6744 MB / 474.3 MB, free: 10.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004122/0.4767, allocations: 167 kB / 474.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004063/0.4808, allocations: 2.262 MB / 476.7 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4808, allocations: 0 / 476.7 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.4831, allocations: 1.442 MB / 478.2 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/0.4872, allocations: 0.5693 MB / 478.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/0.5029, allocations: 8.639 MB / 487.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/0.5056, allocations: 2.669 MB / 490.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002137/0.5078, allocations: 0.5513 MB / 490.6 MB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/0.5083, allocations: 159.4 kB / 490.8 MB, free: 9.734 MB / 382.1 MB Notification: Performance of SimCode: time 2.104e-06/0.5083, allocations: 0 / 490.8 MB, free: 9.734 MB / 382.1 MB Notification: Performance of Templates: time 0.0554/0.5637, allocations: 31.18 MB / 0.5097 GB, free: 10.52 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches