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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009728/0.0009729, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.3 MB / 235.5 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 95.31 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.542e-05, allocations: 4 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 50.41 MB / 394.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3135/0.4215, allocations: 114.4 MB / 0.4967 GB, free: 5.094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.4218, allocations: 95.77 kB / 0.4968 GB, free: 5.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3872/0.809, allocations: 83.99 MB / 0.5788 GB, free: 97.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.8091, allocations: 0 / 0.5788 GB, free: 97.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001654/0.8093, allocations: 79.5 kB / 0.5789 GB, free: 97.21 MB / 426.7 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.007224/0.8165, allocations: 3.309 MB / 0.5821 GB, free: 95.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.8165, allocations: 8.906 kB / 0.5822 GB, free: 95.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003766/0.8203, allocations: 0.7363 MB / 0.5829 GB, free: 95.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006926/0.8273, allocations: 3.382 MB / 0.5862 GB, free: 94.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.8274, allocations: 248.5 kB / 0.5864 GB, free: 94.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006329/0.8281, allocations: 321 kB / 0.5867 GB, free: 94.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006495/0.8346, allocations: 4.119 MB / 0.5907 GB, free: 92.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/0.8347, allocations: 6.422 kB / 0.5907 GB, free: 92.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.835, allocations: 133.5 kB / 0.5909 GB, free: 92.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.8351, allocations: 146.6 kB / 0.591 GB, free: 92.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/0.8402, allocations: 3.34 MB / 0.5943 GB, free: 90.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01927/0.8595, allocations: 13.47 MB / 0.6074 GB, free: 83.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005911/0.8655, allocations: 6.88 MB / 0.6141 GB, free: 77.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.8675, allocations: 1.344 MB / 0.6155 GB, free: 76.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005734/0.8732, allocations: 3.853 MB / 0.6192 GB, free: 74.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009981/0.8743, allocations: 0.8233 MB / 0.62 GB, free: 74.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=130): time 3.125e-06/0.8743, allocations: 0 / 0.62 GB, free: 74.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=138): time 0.007582/0.8819, allocations: 5.06 MB / 0.625 GB, free: 71.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.8819, allocations: 222 kB / 0.6252 GB, free: 71.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.8843, allocations: 1.647 MB / 0.6268 GB, free: 70.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/0.8844, allocations: 49.14 kB / 0.6268 GB, free: 70.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009652/0.8853, allocations: 1.488 MB / 0.6283 GB, free: 69.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.8856, allocations: 477.4 kB / 0.6287 GB, free: 69.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.8857, allocations: 38.94 kB / 0.6288 GB, free: 69.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.8858, allocations: 371.6 kB / 0.6291 GB, free: 68.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008265/0.8866, allocations: 0.6304 MB / 0.6297 GB, free: 68.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.8877, allocations: 1.166 MB / 0.6309 GB, free: 67.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.8888, allocations: 0.8493 MB / 0.6317 GB, free: 66.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8888, allocations: 4 kB / 0.6317 GB, free: 66.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.003168/0.892, allocations: 2.35 MB / 0.634 GB, free: 64.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.892, allocations: 13.25 kB / 0.634 GB, free: 64.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.892, allocations: 16 kB / 0.634 GB, free: 64.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/0.8927, allocations: 300 kB / 0.6343 GB, free: 64.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.894, allocations: 373.6 kB / 0.6347 GB, free: 64.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004247/0.8982, allocations: 5.83 MB / 0.6404 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.8998, allocations: 101.6 kB / 0.6405 GB, free: 58.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.8999, allocations: 75.14 kB / 0.6405 GB, free: 58 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 190 * 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.0002499/0.9001, allocations: 208.4 kB / 0.6407 GB, free: 57.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.9005, allocations: 197.6 kB / 0.6409 GB, free: 57.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.9037, allocations: 2.217 MB / 0.6431 GB, free: 55.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.9037, allocations: 12 kB / 0.6431 GB, free: 55.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.9038, allocations: 8 kB / 0.6431 GB, free: 55.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.9038, allocations: 6.797 kB / 0.6431 GB, free: 55.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007451/0.9112, allocations: 5.128 MB / 0.6481 GB, free: 51.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9113, allocations: 0 / 0.6481 GB, free: 51.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007416/0.912, allocations: 175.8 kB / 0.6483 GB, free: 50.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.9131, allocations: 475.5 kB / 0.6488 GB, free: 50.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.273e-05/0.9132, allocations: 35.98 kB / 0.6488 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007426/0.9206, allocations: 10.13 MB / 0.6587 GB, free: 39.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.9207, allocations: 4.031 kB / 0.6587 GB, free: 39.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004752/0.9254, allocations: 3.1 MB / 0.6617 GB, free: 36.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/0.9269, allocations: 446.4 kB / 0.6621 GB, free: 35.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000501/0.9274, allocations: 39.98 kB / 0.6622 GB, free: 35.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.9286, allocations: 63.95 kB / 0.6622 GB, free: 35.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.9288, allocations: 105.1 kB / 0.6623 GB, free: 35.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.9289, allocations: 48.05 kB / 0.6624 GB, free: 35.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001954/0.9309, allocations: 1.26 MB / 0.6636 GB, free: 34.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9309, allocations: 3.938 kB / 0.6636 GB, free: 34.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002373/0.9332, allocations: 0.6327 MB / 0.6642 GB, free: 33.83 MB / 426.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 94 * 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%) 8,(1,100.0%) 3,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.9345, allocations: 0.6756 MB / 0.6649 GB, free: 33.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.9373, allocations: 2.099 MB / 0.6669 GB, free: 31.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.9373, allocations: 4.375 kB / 0.667 GB, free: 31.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.9391, allocations: 1.527 MB / 0.6684 GB, free: 29.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.9411, allocations: 0.4923 MB / 0.6689 GB, free: 29.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007856/0.9489, allocations: 4.643 MB / 0.6735 GB, free: 24.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/0.9509, allocations: 2.414 MB / 0.6758 GB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0014/0.9523, allocations: 406.6 kB / 0.6762 GB, free: 21.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.9527, allocations: 135.4 kB / 0.6763 GB, free: 21.45 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.9527, allocations: 3.938 kB / 0.6763 GB, free: 21.44 MB / 426.7 MB Notification: Performance of Templates: time 0.04932/1.002, allocations: 31.17 MB / 0.7068 GB, free: 6.488 MB / 442.7 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","../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