Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.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.001457/0.001457, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.00173/0.00173, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 55.92 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3348, allocations: 49.15 MB / 396.4 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01977/0.3546, allocations: 13.51 MB / 409.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01501/0.3696, allocations: 4.789 MB / 414.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005845/0.3754, allocations: 88.41 kB / 414.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006768/0.3822, allocations: 1.144 MB / 415.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007266/0.3894, allocations: 1.383 MB / 417.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.393, allocations: 1.006 MB / 418.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007655/0.4007, allocations: 4.066 MB / 422.3 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00491/0.4056, allocations: 1.786 MB / 424.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005442/0.411, allocations: 1.967 MB / 426.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005841/0.4169, allocations: 2.196 MB / 428.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002709/0.4196, allocations: 0.5106 MB / 428.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004236/0.4238, allocations: 0.7536 MB / 429.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002605/0.4264, allocations: 1.153 MB / 430.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006055/0.4325, allocations: 2.143 MB / 432.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.4457, allocations: 6.81 MB / 439.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4457, allocations: 0 / 439.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4457, allocations: 0 / 439.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002465/0.446, allocations: 0 / 439.7 MB, free: 7.996 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01444/0.4604, allocations: 4.509 MB / 444.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.4605, allocations: 11.98 kB / 444.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000748/0.4612, allocations: 459.7 kB / 444.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/0.4654, allocations: 0.8455 MB / 445.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005016/0.4704, allocations: 2.267 MB / 447.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.4706, allocations: 250.3 kB / 448 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005185/0.4712, allocations: 319.9 kB / 448.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00808/0.4792, allocations: 4.284 MB / 452.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.027e-05/0.4793, allocations: 3.953 kB / 452.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/0.4796, allocations: 132 kB / 452.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.4798, allocations: 154.4 kB / 452.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007773/0.4876, allocations: 3.613 MB / 456.5 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/0.5123, allocations: 13.05 MB / 469.5 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005596/0.5179, allocations: 2.676 MB / 472.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/0.5202, allocations: 1.253 MB / 473.5 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007488/0.5277, allocations: 3.547 MB / 477 MB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/0.5291, allocations: 0.8416 MB / 477.8 MB, free: 1.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 2.926e-06/0.5291, allocations: 0 / 477.8 MB, free: 1.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01333/0.5425, allocations: 5.931 MB / 483.8 MB, free: 11.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.5426, allocations: 222.9 kB / 484 MB, free: 11.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.5458, allocations: 1.914 MB / 485.9 MB, free: 9.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.5459, allocations: 53.7 kB / 486 MB, free: 9.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.5476, allocations: 1.514 MB / 487.5 MB, free: 7.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005541/0.5482, allocations: 0.4958 MB / 488 MB, free: 7.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005299/0.5487, allocations: 307.5 kB / 488.3 MB, free: 6.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5488, allocations: 305.1 kB / 488.6 MB, free: 6.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.55, allocations: 0.6598 MB / 489.2 MB, free: 5.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.5517, allocations: 1.214 MB / 490.4 MB, free: 4.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/0.5547, allocations: 1.936 MB / 492.4 MB, free: 2.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.5547, allocations: 4 kB / 492.4 MB, free: 2.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004545/0.5592, allocations: 2.358 MB / 494.7 MB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.5593, allocations: 12 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.5593, allocations: 12 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008376/0.5601, allocations: 299.4 kB / 495.1 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.5616, allocations: 375.4 kB / 495.4 MB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007087/0.5687, allocations: 6.072 MB / 0.4897 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.5707, allocations: 95.97 kB / 0.4898 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.5708, allocations: 75.98 kB / 0.4899 GB, free: 8.598 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002361/0.5732, allocations: 1.028 MB / 0.4909 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/0.5737, allocations: 206.7 kB / 0.4911 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004462/0.5782, allocations: 2.091 MB / 0.4931 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.5782, allocations: 12 kB / 0.4932 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.5782, allocations: 12 kB / 0.4932 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.5782, allocations: 7.969 kB / 0.4932 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009938/0.5882, allocations: 4.894 MB / 0.498 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5882, allocations: 0 / 0.498 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/0.589, allocations: 191.8 kB / 0.4981 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.5903, allocations: 463.8 kB / 0.4986 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/0.5904, allocations: 35.98 kB / 0.4986 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.6022, allocations: 10.62 MB / 0.509 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6022, allocations: 0 / 0.509 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005584/0.6078, allocations: 2.975 MB / 0.5119 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.6091, allocations: 366.5 kB / 0.5122 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/0.6094, allocations: 39.98 kB / 0.5123 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008878/0.6103, allocations: 63.95 kB / 0.5123 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/0.6106, allocations: 113 kB / 0.5124 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.6107, allocations: 35.98 kB / 0.5125 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002283/0.613, allocations: 1.315 MB / 0.5138 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.613, allocations: 0 / 0.5138 GB, free: 15.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002327/0.6153, allocations: 0.5859 MB / 0.5143 GB, free: 14.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00714/0.6224, allocations: 3.887 MB / 0.5181 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003927/0.6264, allocations: 2.034 MB / 0.5201 GB, free: 8.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.6264, allocations: 4.25 kB / 0.5201 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002601/0.629, allocations: 1.516 MB / 0.5216 GB, free: 7.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.6319, allocations: 0.5406 MB / 0.5221 GB, free: 6.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/0.6682, allocations: 20 MB / 0.5417 GB, free: 2.023 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002597/0.6708, allocations: 2.348 MB / 0.544 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001543/0.6724, allocations: 413 kB / 0.5443 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/0.6741, allocations: 1.163 MB / 0.5455 GB, free: 14.07 MB / 478.1 MB Notification: Performance of SimCode: time 1.753e-06/0.6741, allocations: 0 / 0.5455 GB, free: 14.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3408/1.015, allocations: 56.3 MB / 0.6005 GB, free: 122.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/17.38, allocations: 0 / 0.6005 GB, free: 122.7 MB / 478.1 MB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 639] Reference file matches [Calling sys.exit(0), Time elapsed: 61.184744206955656]