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.001527/0.001528, allocations: 114 kB / 17.28 MB, free: 6.219 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.001755/0.001755, allocations: 193.3 kB / 18.2 MB, free: 5.301 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.459/1.459, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001294/0.001295, allocations: 51.92 kB / 280.3 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1288, allocations: 46.62 MB / 326.9 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01658/0.1454, allocations: 13.23 MB / 340.1 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.1561, allocations: 4.666 MB / 344.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.1583, allocations: 67.69 kB / 344.8 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.1611, allocations: 0.972 MB / 345.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.1648, allocations: 1.248 MB / 347.1 MB, free: 428 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.167, allocations: 0.8889 MB / 348 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005316/0.1723, allocations: 4.203 MB / 352.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003843/0.1762, allocations: 3.201 MB / 355.4 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.179, allocations: 1.791 MB / 357.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/0.1818, allocations: 2.144 MB / 359.3 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007106/0.1825, allocations: 0.5039 MB / 359.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.1842, allocations: 0.7575 MB / 360.6 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.1853, allocations: 1.138 MB / 361.7 MB, free: 1.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002528/0.1878, allocations: 2.132 MB / 363.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006877/0.1947, allocations: 6.722 MB / 370.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.1948, allocations: 4 kB / 370.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1948, allocations: 0 / 370.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001733/0.195, allocations: 0 / 370.6 MB, free: 8.793 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.01275/0.2077, allocations: 4.472 MB / 375 MB, free: 4.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.2078, allocations: 12.03 kB / 375 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006627/0.2085, allocations: 455.7 kB / 375.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/0.2126, allocations: 0.8357 MB / 376.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/0.2167, allocations: 2.248 MB / 378.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.2169, allocations: 238.4 kB / 378.8 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/0.2174, allocations: 323.9 kB / 379.1 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2931/0.5105, allocations: 4.276 MB / 383.4 MB, free: 47.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.706e-05/0.5106, allocations: 10.44 kB / 383.4 MB, free: 47.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000362/0.511, allocations: 126.7 kB / 383.5 MB, free: 47.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002622/0.5113, allocations: 157.7 kB / 383.7 MB, free: 47.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008153/0.5194, allocations: 3.617 MB / 387.3 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.5387, allocations: 13.43 MB / 400.7 MB, free: 37.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005789/0.5445, allocations: 6.959 MB / 407.7 MB, free: 30.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.5467, allocations: 1.386 MB / 409.1 MB, free: 30.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005687/0.5524, allocations: 3.839 MB / 412.9 MB, free: 26.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.5535, allocations: 0.8572 MB / 413.8 MB, free: 26.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.196e-06/0.5535, allocations: 0 / 413.8 MB, free: 26.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.01135/0.5649, allocations: 6.496 MB / 420.3 MB, free: 19.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.565, allocations: 230.9 kB / 420.5 MB, free: 19.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.5671, allocations: 1.911 MB / 422.4 MB, free: 17.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.431e-05/0.5672, allocations: 49.7 kB / 422.4 MB, free: 17.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.5684, allocations: 1.47 MB / 423.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.5687, allocations: 484 kB / 424.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004312/0.5692, allocations: 307.3 kB / 424.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.5693, allocations: 313.1 kB / 425 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008903/0.5702, allocations: 0.6559 MB / 425.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.5714, allocations: 1.218 MB / 426.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.5733, allocations: 1.936 MB / 428.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5734, allocations: 11.94 kB / 428.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003177/0.5765, allocations: 2.424 MB / 431.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.5766, allocations: 12 kB / 431.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.5766, allocations: 16 kB / 431.3 MB, free: 7.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006785/0.5773, allocations: 284 kB / 431.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.5786, allocations: 379.4 kB / 431.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.5831, allocations: 6.384 MB / 438.3 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.5844, allocations: 88.02 kB / 438.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.5845, allocations: 75.92 kB / 438.5 MB, free: 224 kB / 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.00205/0.5865, allocations: 1.039 MB / 439.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.5868, allocations: 197.6 kB / 439.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.5907, allocations: 2.256 MB / 441.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.5907, allocations: 15.98 kB / 442 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.5907, allocations: 15.94 kB / 442 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.5907, allocations: 3.984 kB / 442 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007804/0.5985, allocations: 5.102 MB / 447.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5986, allocations: 4 kB / 447.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/0.5993, allocations: 175.8 kB / 447.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.6005, allocations: 470.6 kB / 447.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.666e-05/0.6006, allocations: 35.98 kB / 447.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.6118, allocations: 11.14 MB / 458.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6118, allocations: 4.031 kB / 458.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005865/0.6177, allocations: 3.129 MB / 462 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.6188, allocations: 436.2 kB / 462.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.6191, allocations: 36.06 kB / 462.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008847/0.62, allocations: 68.23 kB / 462.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003686/0.6204, allocations: 109.1 kB / 462.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/0.6205, allocations: 35.98 kB / 462.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002104/0.6226, allocations: 1.319 MB / 464 MB, free: 5.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6226, allocations: 4 kB / 464 MB, free: 5.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002561/0.6251, allocations: 0.5769 MB / 464.6 MB, free: 5.148 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.006815/0.632, allocations: 4.062 MB / 468.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005901/0.6379, allocations: 2.58 MB / 471.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.6379, allocations: 4.062 kB / 471.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002673/0.6406, allocations: 1.577 MB / 472.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.6434, allocations: 0.5329 MB / 473.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04403/0.6875, allocations: 23.7 MB / 497 MB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/0.6896, allocations: 2.356 MB / 499.4 MB, free: 356 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0016/0.6912, allocations: 405 kB / 499.8 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/0.6927, allocations: 1.163 MB / 0.4892 GB, free: 14.79 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.6927, allocations: 0 / 0.4892 GB, free: 14.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4036/1.096, allocations: 53.01 MB / 0.541 GB, free: 143.1 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/1.097, allocations: 293.7 kB / 0.5413 GB, free: 142.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.744/4.841, allocations: 0 / 0.5413 GB, free: 142.7 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