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.001706/0.001706, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002089/0.002089, allocations: 213.5 kB / 24.47 MB, free: 3.777 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.544/1.544, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.002706/0.002706, allocations: 59.92 kB / 347.2 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3099, allocations: 49.15 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01267/0.3225, allocations: 11.74 MB / 408.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009309/0.3318, allocations: 4.518 MB / 412.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.3343, allocations: 88.19 kB / 412.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.3379, allocations: 1.094 MB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00536/0.3432, allocations: 1.354 MB / 415.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.3464, allocations: 0.9749 MB / 416.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.3564, allocations: 4.078 MB / 420.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003243/0.3597, allocations: 1.702 MB / 421.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.3634, allocations: 1.96 MB / 423.9 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004494/0.3678, allocations: 2.072 MB / 425.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001371/0.3692, allocations: 0.5078 MB / 426.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.3717, allocations: 0.738 MB / 427.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.3731, allocations: 1.153 MB / 428.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003304/0.3764, allocations: 1.684 MB / 430 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009275/0.3857, allocations: 6.836 MB / 436.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3857, allocations: 0 / 436.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3857, allocations: 3.938 kB / 436.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000159/0.3859, allocations: 0 / 436.9 MB, free: 10.43 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.01268/0.3985, allocations: 4.501 MB / 441.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3986, allocations: 11.98 kB / 441.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008072/0.3994, allocations: 455.7 kB / 441.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004512/0.4039, allocations: 0.8416 MB / 442.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005939/0.4098, allocations: 2.256 MB / 444.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.4101, allocations: 234.4 kB / 445.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009083/0.411, allocations: 320 kB / 445.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009632/0.4207, allocations: 4.435 MB / 449.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.4208, allocations: 11.95 kB / 449.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005748/0.4214, allocations: 124 kB / 450 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/0.4216, allocations: 162.4 kB / 450.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008633/0.4302, allocations: 3.609 MB / 453.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/0.4574, allocations: 11.85 MB / 465.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006102/0.4635, allocations: 2.661 MB / 468.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002704/0.4662, allocations: 1.238 MB / 469.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008497/0.4747, allocations: 3.216 MB / 472.8 MB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/0.4766, allocations: 1.016 MB / 473.8 MB, free: 4.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 5.741e-06/0.4766, allocations: 0 / 473.8 MB, free: 4.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01646/0.493, allocations: 5.92 MB / 479.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/0.4932, allocations: 226.9 kB / 479.9 MB, free: 14.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004987/0.4982, allocations: 1.942 MB / 481.9 MB, free: 12.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002681/0.4985, allocations: 49.7 kB / 481.9 MB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002132/0.5006, allocations: 1.517 MB / 483.4 MB, free: 11.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008762/0.5015, allocations: 0.4997 MB / 483.9 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008974/0.5024, allocations: 311.4 kB / 484.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5026, allocations: 301.1 kB / 484.5 MB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.5046, allocations: 0.6637 MB / 485.2 MB, free: 9.449 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/0.5074, allocations: 1.393 MB / 486.6 MB, free: 7.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004728/0.5121, allocations: 1.94 MB / 488.5 MB, free: 5.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/0.5121, allocations: 4 kB / 488.5 MB, free: 5.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007158/0.5193, allocations: 2.354 MB / 490.9 MB, free: 3.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.5194, allocations: 15.98 kB / 490.9 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.941e-05/0.5194, allocations: 16 kB / 490.9 MB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.5207, allocations: 291.5 kB / 491.2 MB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/0.5228, allocations: 379.4 kB / 491.6 MB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009441/0.5322, allocations: 6.014 MB / 497.6 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.5339, allocations: 96.06 kB / 497.7 MB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.5341, allocations: 68 kB / 497.7 MB, free: 12.05 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.00212/0.5362, allocations: 1.04 MB / 498.8 MB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/0.5368, allocations: 210.9 kB / 499 MB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00455/0.5413, allocations: 2.091 MB / 0.4893 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.5413, allocations: 20 kB / 0.4894 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/0.5414, allocations: 4 kB / 0.4894 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.5414, allocations: 7.969 kB / 0.4894 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009607/0.551, allocations: 4.621 MB / 0.4939 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.551, allocations: 0 / 0.4939 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007954/0.5518, allocations: 187.9 kB / 0.4941 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.5531, allocations: 463.8 kB / 0.4945 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.5532, allocations: 35.98 kB / 0.4945 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.565, allocations: 10.53 MB / 0.5048 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.565, allocations: 224 / 0.5048 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/0.5706, allocations: 2.994 MB / 0.5077 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.5717, allocations: 374.6 kB / 0.5081 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004535/0.5722, allocations: 36 kB / 0.5081 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.5732, allocations: 63.95 kB / 0.5082 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.5735, allocations: 105.3 kB / 0.5083 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/0.5736, allocations: 43.98 kB / 0.5083 GB, free: 4.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002395/0.576, allocations: 1.319 MB / 0.5096 GB, free: 3.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.576, allocations: 4 kB / 0.5096 GB, free: 3.176 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002195/0.5782, allocations: 0.5859 MB / 0.5102 GB, free: 2.59 MB / 430.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 (103): * Single equations (assignments): 96 * 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.007152/0.5853, allocations: 3.921 MB / 0.514 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003566/0.5889, allocations: 2.026 MB / 0.516 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5889, allocations: 4.062 kB / 0.516 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.5913, allocations: 1.516 MB / 0.5175 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.5939, allocations: 0.5446 MB / 0.518 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03773/0.6316, allocations: 19.99 MB / 0.5375 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/0.6347, allocations: 1.798 MB / 0.5393 GB, free: 3.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001744/0.6365, allocations: 421 kB / 0.5397 GB, free: 3.516 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/0.6385, allocations: 1.167 MB / 0.5408 GB, free: 2.348 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.6385, allocations: 4 kB / 0.5408 GB, free: 2.344 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2831/0.9215, allocations: 58.23 MB / 0.5977 GB, free: 125.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.96, allocations: 7.938 kB / 0.5977 GB, free: 125.1 MB / 478.1 MB " [Timeout remaining time 645] (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 641] Reference file matches [Calling sys.exit(0), Time elapsed: 58.41105641191825]