Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 47.94 kB / 373.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 53.33 MB / 426.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.1962/0.2978, allocations: 17.35 MB / 444.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.3094, allocations: 5.694 MB / 449.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/0.313, allocations: 132.5 kB / 450 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.317, allocations: 1.312 MB / 451.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006179/0.3232, allocations: 1.641 MB / 452.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.3264, allocations: 1.094 MB / 454 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008411/0.3348, allocations: 5.227 MB / 459.3 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/0.3392, allocations: 2.947 MB / 462.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.3432, allocations: 2.25 MB / 464.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004989/0.3482, allocations: 2.662 MB / 467.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.3493, allocations: 0.6208 MB / 467.8 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.3516, allocations: 0.8598 MB / 468.6 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.3531, allocations: 1.428 MB / 470 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003476/0.3566, allocations: 2.642 MB / 472.7 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009637/0.3662, allocations: 8.166 MB / 480.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3662, allocations: 3.938 kB / 480.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3662, allocations: 0 / 480.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001666/0.3664, allocations: 0 / 480.8 MB, free: 10.54 MB / 382.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.01493/0.3813, allocations: 5.532 MB / 486.4 MB, free: 4.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.3814, allocations: 8.031 kB / 486.4 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005934/0.3873, allocations: 1.021 MB / 487.4 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006829/0.3941, allocations: 3.021 MB / 490.4 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.3944, allocations: 304.2 kB / 490.7 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008813/0.3953, allocations: 397.3 kB / 491.1 MB, free: 132 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.4061, allocations: 5.221 MB / 496.3 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.868e-05/0.4062, allocations: 11.89 kB / 496.3 MB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/0.4066, allocations: 160 kB / 496.5 MB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/0.4068, allocations: 180 kB / 496.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00925/0.416, allocations: 4.466 MB / 0.4894 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0291/0.4451, allocations: 16.73 MB / 0.5057 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008982/0.4541, allocations: 8.512 MB / 0.5141 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004518/0.4586, allocations: 2 MB / 0.516 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.4689, allocations: 5.781 MB / 0.5217 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.469, allocations: 55.86 kB / 0.5217 GB, free: 3.043 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.707e-06/0.469, allocations: 3.938 kB / 0.5217 GB, free: 3.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01473/0.4837, allocations: 6.36 MB / 0.5279 GB, free: 12.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.4838, allocations: 72.66 kB / 0.528 GB, free: 12.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004656/0.4885, allocations: 2.315 MB / 0.5303 GB, free: 10.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.4887, allocations: 53.7 kB / 0.5303 GB, free: 10.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001962/0.4907, allocations: 1.905 MB / 0.5322 GB, free: 8.117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008701/0.4915, allocations: 0.581 MB / 0.5327 GB, free: 7.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009282/0.4925, allocations: 395.9 kB / 0.5331 GB, free: 7.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4926, allocations: 305.1 kB / 0.5334 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.4945, allocations: 0.8592 MB / 0.5342 GB, free: 5.973 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/0.4971, allocations: 1.571 MB / 0.5358 GB, free: 4.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004492/0.5016, allocations: 2.586 MB / 0.5383 GB, free: 1.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.324e-05/0.5016, allocations: 12 kB / 0.5383 GB, free: 1.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.006078/0.5077, allocations: 2.983 MB / 0.5412 GB, free: 14.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.5077, allocations: 14.03 kB / 0.5412 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.5078, allocations: 27.98 kB / 0.5413 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/0.5083, allocations: 173.7 kB / 0.5414 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.5104, allocations: 0.5343 MB / 0.542 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.5132, allocations: 2.429 MB / 0.5443 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.5151, allocations: 116 kB / 0.5444 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.5153, allocations: 95.98 kB / 0.5445 GB, free: 10.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (266): * Single equations (assignments): 264 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002245/0.5176, allocations: 1.202 MB / 0.5457 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006798/0.5183, allocations: 262.4 kB / 0.5459 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005172/0.5234, allocations: 2.516 MB / 0.5484 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.5234, allocations: 16 kB / 0.5484 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5235, allocations: 4 kB / 0.5484 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.5235, allocations: 7.969 kB / 0.5484 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.5345, allocations: 5.897 MB / 0.5542 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.5346, allocations: 4 kB / 0.5542 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.5359, allocations: 279.6 kB / 0.5545 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.537, allocations: 366.3 kB / 0.5548 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.5371, allocations: 39.98 kB / 0.5548 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008652/0.5458, allocations: 7.4 MB / 0.5621 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5458, allocations: 0 / 0.5621 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006911/0.5527, allocations: 3.669 MB / 0.5657 GB, free: 4.266 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.554, allocations: 0.511 MB / 0.5662 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006106/0.5546, allocations: 39.98 kB / 0.5662 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.5559, allocations: 75.94 kB / 0.5663 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/0.5563, allocations: 113.1 kB / 0.5664 GB, free: 3.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.5564, allocations: 51.98 kB / 0.5664 GB, free: 3.461 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002687/0.5591, allocations: 1.573 MB / 0.568 GB, free: 1.875 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5591, allocations: 0 / 0.568 GB, free: 1.875 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002591/0.5616, allocations: 0.6757 MB / 0.5686 GB, free: 1.199 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (129): * Single equations (assignments): 126 * 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,8,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.0003752/0.562, allocations: 183.3 kB / 0.5688 GB, free: 1.008 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004282/0.5663, allocations: 2.231 MB / 0.571 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5663, allocations: 4.062 kB / 0.571 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0027/0.569, allocations: 1.421 MB / 0.5724 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.5722, allocations: 0.6064 MB / 0.573 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.585, allocations: 7.018 MB / 0.5798 GB, free: 5.617 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002734/0.5878, allocations: 2.674 MB / 0.5824 GB, free: 2.918 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001885/0.5896, allocations: 0.5513 MB / 0.583 GB, free: 2.363 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/0.5901, allocations: 171.4 kB / 0.5831 GB, free: 2.195 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5901, allocations: 0 / 0.5831 GB, free: 2.195 MB / 494.1 MB Notification: Performance of Templates: time 0.06546/0.6556, allocations: 31.95 MB / 0.6143 GB, free: 2.586 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.712616495788097]