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.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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009829, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.0009693/0.0009693, allocations: 190 kB / 18.07 MB, free: 5.414 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.307/1.307, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001146/0.001146, allocations: 51.92 kB / 280.1 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1073, allocations: 46.62 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01509/0.1225, allocations: 13.23 MB / 339.9 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009296/0.1318, allocations: 4.694 MB / 344.6 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.1343, allocations: 75.62 kB / 344.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.1372, allocations: 0.9604 MB / 345.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004151/0.1413, allocations: 1.244 MB / 346.9 MB, free: 500 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.1438, allocations: 0.8967 MB / 347.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006339/0.1502, allocations: 4.32 MB / 352.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003486/0.1537, allocations: 2.667 MB / 354.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.1561, allocations: 1.518 MB / 356.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.1587, allocations: 1.992 MB / 358.3 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005095/0.1592, allocations: 300 kB / 358.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.1606, allocations: 0.5271 MB / 359.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007969/0.1614, allocations: 0.9226 MB / 360 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002021/0.1634, allocations: 1.905 MB / 361.9 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006113/0.1696, allocations: 6.562 MB / 368.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1696, allocations: 3.938 kB / 368.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1696, allocations: 0 / 368.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001535/0.1698, allocations: 0 / 368.5 MB, free: 10.75 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01362/0.1834, allocations: 4.479 MB / 373 MB, free: 6.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.1835, allocations: 12.03 kB / 373 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007255/0.1842, allocations: 451.7 kB / 373.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004317/0.1885, allocations: 0.8279 MB / 374.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/0.1928, allocations: 2.256 MB / 376.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.193, allocations: 242.4 kB / 376.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005075/0.1935, allocations: 323.9 kB / 377.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1716/0.3651, allocations: 4.283 MB / 381.4 MB, free: 47.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/0.3653, allocations: 2.062 kB / 381.4 MB, free: 47.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009109/0.3662, allocations: 127.8 kB / 381.5 MB, free: 47.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000272/0.3665, allocations: 153.2 kB / 381.6 MB, free: 47.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00864/0.3752, allocations: 3.621 MB / 385.3 MB, free: 46.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0186/0.3938, allocations: 13.44 MB / 398.7 MB, free: 37.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005036/0.3989, allocations: 6.955 MB / 405.7 MB, free: 31.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.4006, allocations: 1.382 MB / 407 MB, free: 30.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005567/0.4062, allocations: 3.841 MB / 410.9 MB, free: 27.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.4073, allocations: 0.8486 MB / 411.7 MB, free: 27.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 2.565e-06/0.4073, allocations: 0 / 411.7 MB, free: 27.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.01068/0.418, allocations: 6.501 MB / 418.2 MB, free: 21.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.4181, allocations: 226.9 kB / 418.4 MB, free: 20.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/0.421, allocations: 1.907 MB / 420.4 MB, free: 19.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-05/0.4211, allocations: 49.7 kB / 420.4 MB, free: 18.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000999/0.4221, allocations: 1.473 MB / 421.9 MB, free: 17.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.4224, allocations: 488.3 kB / 422.4 MB, free: 17.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/0.4229, allocations: 311.3 kB / 422.7 MB, free: 16.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.4229, allocations: 305.1 kB / 423 MB, free: 16.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009347/0.4239, allocations: 0.6676 MB / 423.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.425, allocations: 1.206 MB / 424.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.4271, allocations: 1.939 MB / 426.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.4271, allocations: 4 kB / 426.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003435/0.4306, allocations: 2.429 MB / 429.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.4306, allocations: 12 kB / 429.2 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.4306, allocations: 12 kB / 429.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006742/0.4313, allocations: 293.3 kB / 429.5 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4326, allocations: 383.4 kB / 429.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.4366, allocations: 5.861 MB / 435.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.4381, allocations: 91.94 kB / 435.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.4382, allocations: 72 kB / 435.9 MB, free: 2.602 MB / 318.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.001493/0.4397, allocations: 1.032 MB / 436.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004217/0.4402, allocations: 201.6 kB / 437.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.4439, allocations: 2.251 MB / 439.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.4439, allocations: 16 kB / 439.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-05/0.444, allocations: 4 kB / 439.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.444, allocations: 3.984 kB / 439.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008691/0.4527, allocations: 5.115 MB / 444.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.4527, allocations: 0 / 444.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.4535, allocations: 187.7 kB / 444.7 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.4547, allocations: 459.6 kB / 445.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.4548, allocations: 35.92 kB / 445.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00996/0.4648, allocations: 10.19 MB / 455.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4648, allocations: 4.016 kB / 455.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005101/0.4699, allocations: 3.134 MB / 458.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.471, allocations: 430.6 kB / 458.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/0.4715, allocations: 35.94 kB / 459 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.4726, allocations: 63.95 kB / 459 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/0.4729, allocations: 105.1 kB / 459.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/0.473, allocations: 43.98 kB / 459.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002372/0.4754, allocations: 1.315 MB / 460.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4754, allocations: 0 / 460.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002391/0.4778, allocations: 0.5768 MB / 461.1 MB, free: 8.508 MB / 350.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,13,100.0%), (1,3,100.0%), (1,8,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.00608/0.4839, allocations: 4.07 MB / 465.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003458/0.4874, allocations: 2.158 MB / 467.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4874, allocations: 0 / 467.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.4898, allocations: 1.571 MB / 468.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/0.4931, allocations: 0.5024 MB / 469.4 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0451/0.5382, allocations: 23.71 MB / 493.1 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/0.541, allocations: 2.362 MB / 495.4 MB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001511/0.5426, allocations: 401 kB / 495.8 MB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/0.5441, allocations: 1.163 MB / 497 MB, free: 2.574 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5442, allocations: 4 kB / 497 MB, free: 2.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3099/0.8541, allocations: 51.87 MB / 0.536 GB, free: 134.4 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.8543, allocations: 291.1 kB / 0.5363 GB, free: 134 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.687, allocations: 0 / 0.5363 GB, free: 134 MB / 430.1 MB (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 --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) 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","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches