Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008381/0.000838, allocations: 87.7 kB / 16.31 MB, free: 6.453 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.0009609/0.0009608, allocations: 180.8 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 241.2 MB, free: 5.363 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002543, allocations: 5.812 kB / 300.8 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08885, allocations: 50.42 MB / 351.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01181/0.1007, allocations: 11.82 MB / 363.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007233/0.108, allocations: 4.484 MB / 367.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.1091, allocations: 71.75 kB / 367.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.1111, allocations: 0.8471 MB / 368.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.1144, allocations: 1.127 MB / 369.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.1163, allocations: 0.7041 MB / 370.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004665/0.121, allocations: 4.034 MB / 374.3 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/0.1239, allocations: 2.242 MB / 376.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.1262, allocations: 1.311 MB / 377.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.1285, allocations: 1.673 MB / 379.6 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003506/0.1289, allocations: 204 kB / 379.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.1301, allocations: 427.8 kB / 380.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008235/0.1309, allocations: 0.7746 MB / 381 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009605/0.1319, allocations: 0.746 MB / 381.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005286/0.1372, allocations: 5.551 MB / 387.3 MB, free: 7.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1372, allocations: 4 kB / 387.3 MB, free: 7.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1372, allocations: 4 kB / 387.3 MB, free: 7.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001105/0.1374, allocations: 0 / 387.3 MB, free: 7.508 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.008375/0.1457, allocations: 3.836 MB / 391.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1458, allocations: 8.031 kB / 391.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/0.1498, allocations: 0.8231 MB / 391.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.1532, allocations: 2.3 MB / 394.2 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.1534, allocations: 242.4 kB / 394.5 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/0.1539, allocations: 320 kB / 394.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007281/0.1611, allocations: 4.268 MB / 399 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.707e-05/0.1612, allocations: 3.906 kB / 399 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.1615, allocations: 132 kB / 399.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.1617, allocations: 154.4 kB / 399.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006233/0.1679, allocations: 3.609 MB / 402.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01929/0.1873, allocations: 13.46 MB / 416.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006237/0.1935, allocations: 6.949 MB / 423.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.1957, allocations: 1.388 MB / 424.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1783/0.374, allocations: 3.868 MB / 428.6 MB, free: 60.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001253/0.3753, allocations: 0.8559 MB / 429.5 MB, free: 60.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 3.216e-06/0.3753, allocations: 2.438 kB / 429.5 MB, free: 60.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01254/0.3879, allocations: 6.578 MB / 436 MB, free: 58.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.388, allocations: 226.6 kB / 436.3 MB, free: 58.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/0.3907, allocations: 1.895 MB / 438.2 MB, free: 58.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.899e-05/0.3908, allocations: 48.86 kB / 438.2 MB, free: 58.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.3919, allocations: 1.474 MB / 439.7 MB, free: 57.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.3923, allocations: 485.7 kB / 440.1 MB, free: 56.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.3924, allocations: 38.81 kB / 440.2 MB, free: 56.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3925, allocations: 372.6 kB / 440.5 MB, free: 56.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3936, allocations: 0.661 MB / 441.2 MB, free: 56.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.395, allocations: 1.212 MB / 442.4 MB, free: 55.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.3961, allocations: 0.8784 MB / 443.3 MB, free: 54.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3961, allocations: 3.906 kB / 443.3 MB, free: 54.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003102/0.3992, allocations: 2.424 MB / 445.7 MB, free: 53.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3992, allocations: 11.84 kB / 445.7 MB, free: 53.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.3992, allocations: 11.81 kB / 445.8 MB, free: 53.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.3999, allocations: 291.8 kB / 446 MB, free: 53.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.4012, allocations: 376.4 kB / 446.4 MB, free: 53.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/0.4053, allocations: 5.853 MB / 452.3 MB, free: 48.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.4065, allocations: 97.28 kB / 452.4 MB, free: 48.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.466e-05/0.4066, allocations: 73.25 kB / 452.4 MB, free: 48.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001671/0.4082, allocations: 1.044 MB / 453.5 MB, free: 47.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.4085, allocations: 195.7 kB / 453.7 MB, free: 47.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.4116, allocations: 2.255 MB / 455.9 MB, free: 46.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4116, allocations: 15.03 kB / 455.9 MB, free: 46.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4116, allocations: 7.594 kB / 455.9 MB, free: 46.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.4117, allocations: 8.578 kB / 455.9 MB, free: 46.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005772/0.4174, allocations: 5.109 MB / 461.1 MB, free: 42.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4175, allocations: 0 / 461.1 MB, free: 42.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.4182, allocations: 183.8 kB / 461.2 MB, free: 41.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009216/0.4191, allocations: 474.8 kB / 461.7 MB, free: 41.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.518e-05/0.4192, allocations: 31.98 kB / 461.7 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006943/0.4261, allocations: 10.2 MB / 471.9 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4261, allocations: 4.031 kB / 471.9 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/0.4301, allocations: 3.131 MB / 475.1 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/0.4308, allocations: 434.5 kB / 475.5 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.431, allocations: 36 kB / 475.5 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007685/0.4318, allocations: 66.8 kB / 475.6 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.432, allocations: 113.1 kB / 475.7 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/0.432, allocations: 43.98 kB / 475.7 MB, free: 26.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001489/0.4335, allocations: 1.295 MB / 477 MB, free: 25.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4335, allocations: 0 / 477 MB, free: 25.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001913/0.4355, allocations: 0.5769 MB / 477.6 MB, free: 24.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 3,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.4365, allocations: 478.3 kB / 478.1 MB, free: 24.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002669/0.4392, allocations: 2.17 MB / 480.2 MB, free: 22.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4392, allocations: 64 / 480.2 MB, free: 22.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.441, allocations: 1.58 MB / 481.8 MB, free: 20.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.4429, allocations: 0.5113 MB / 482.3 MB, free: 20.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008153/0.4511, allocations: 6.993 MB / 489.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.4525, allocations: 2.351 MB / 491.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00121/0.4537, allocations: 417 kB / 492.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.454, allocations: 135.4 kB / 492.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.454, allocations: 0 / 492.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Templates: time 0.04486/0.4989, allocations: 27.94 MB / 0.508 GB, free: 14.52 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches