Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 192 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.5 MB / 244.7 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007681/0.0007682, allocations: 95.88 kB / 296.7 MB, free: 6.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002424/0.0002425, allocations: 8 kB / 356.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2234, allocations: 51.28 MB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02231/0.2457, allocations: 30.42 MB / 438.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.2644, allocations: 9.286 MB / 447.8 MB, free: 3.914 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006912/0.2714, allocations: 227.2 kB / 448 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006837/0.2783, allocations: 1.787 MB / 449.8 MB, free: 1.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.29, allocations: 3.153 MB / 452.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006163/0.2961, allocations: 1.567 MB / 454.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0212/0.3174, allocations: 16.1 MB / 470.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03585/0.3532, allocations: 21.21 MB / 491.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008179/0.3615, allocations: 4.836 MB / 496.6 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009739/0.3713, allocations: 5.518 MB / 0.4904 GB, free: 13.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002993/0.3743, allocations: 0.7344 MB / 0.4911 GB, free: 12.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005018/0.3793, allocations: 1.152 MB / 0.4922 GB, free: 11.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003083/0.3824, allocations: 2.379 MB / 0.4946 GB, free: 9.016 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008788/0.3912, allocations: 5.497 MB / 0.4999 GB, free: 3.488 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2227/0.614, allocations: 21.29 MB / 0.5207 GB, free: 31.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6141, allocations: 0 / 0.5207 GB, free: 31.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.789e-06/0.6141, allocations: 0 / 0.5207 GB, free: 31.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001194/0.6153, allocations: 0 / 0.5207 GB, free: 31.32 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.03718/0.6525, allocations: 12.49 MB / 0.5329 GB, free: 25.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.6525, allocations: 11.41 kB / 0.5329 GB, free: 25.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03511/0.6877, allocations: 6.768 MB / 0.5395 GB, free: 22.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/0.7032, allocations: 7.938 MB / 0.5473 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00074/0.704, allocations: 0.8138 MB / 0.5481 GB, free: 20.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004413/0.7084, allocations: 1.075 MB / 0.5491 GB, free: 20.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0497/0.7581, allocations: 17.33 MB / 0.5661 GB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006172/0.7588, allocations: 25.64 kB / 0.5661 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005243/0.764, allocations: 451.4 kB / 0.5665 GB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006571/0.7647, allocations: 0.6357 MB / 0.5671 GB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03985/0.8046, allocations: 16.29 MB / 0.583 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1167/0.9213, allocations: 56.12 MB / 0.6378 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0286/0.95, allocations: 33.65 MB / 0.6707 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008743/0.9587, allocations: 4.473 MB / 0.6751 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2905/1.249, allocations: 12.47 MB / 0.6872 GB, free: 168.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004592/1.254, allocations: 3.086 MB / 0.6903 GB, free: 168.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=434): time 7.143e-06/1.254, allocations: 0 / 0.6903 GB, free: 168.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=452): time 0.04721/1.301, allocations: 23.47 MB / 0.7132 GB, free: 159.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.301, allocations: 412 kB / 0.7136 GB, free: 159.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00646/1.308, allocations: 4.561 MB / 0.718 GB, free: 157.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008584/1.309, allocations: 104.5 kB / 0.7181 GB, free: 157.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003833/1.312, allocations: 4.761 MB / 0.7228 GB, free: 153.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001778/1.314, allocations: 1.545 MB / 0.7243 GB, free: 152.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/1.315, allocations: 120 kB / 0.7244 GB, free: 152.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002735/1.315, allocations: 0.5443 MB / 0.7249 GB, free: 151.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003967/1.319, allocations: 2.803 MB / 0.7277 GB, free: 149.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00505/1.324, allocations: 5.005 MB / 0.7326 GB, free: 144 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009688/1.334, allocations: 8.263 MB / 0.7406 GB, free: 135.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.342e-05/1.334, allocations: 21.31 kB / 0.7406 GB, free: 135.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01571/1.35, allocations: 9.544 MB / 0.75 GB, free: 126.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/1.35, allocations: 39.94 kB / 0.75 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.807e-05/1.35, allocations: 64 kB / 0.7501 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/1.353, allocations: 1.477 MB / 0.7515 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005276/1.359, allocations: 1.326 MB / 0.7528 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/1.376, allocations: 16.3 MB / 0.7687 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005703/1.381, allocations: 355.5 kB / 0.7691 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001239/1.383, allocations: 284 kB / 0.7693 GB, free: 106.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (688): * Single equations (assignments): 682 * 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: 5 * 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: 5 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008051/1.391, allocations: 3.912 MB / 0.7731 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/1.392, allocations: 0.507 MB / 0.7736 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.405, allocations: 7.926 MB / 0.7814 GB, free: 93.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/1.405, allocations: 52 kB / 0.7814 GB, free: 93.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/1.405, allocations: 16 kB / 0.7814 GB, free: 93.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/1.405, allocations: 23.91 kB / 0.7815 GB, free: 93.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02631/1.431, allocations: 17.46 MB / 0.7985 GB, free: 76.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.431, allocations: 4 kB / 0.7985 GB, free: 76.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002935/1.434, allocations: 0.7572 MB / 0.7993 GB, free: 75.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003727/1.438, allocations: 1.562 MB / 0.8008 GB, free: 73.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004097/1.438, allocations: 112 kB / 0.8009 GB, free: 73.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/1.456, allocations: 19.57 MB / 0.82 GB, free: 53.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.456, allocations: 7.938 kB / 0.82 GB, free: 53.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01628/1.472, allocations: 11.44 MB / 0.8312 GB, free: 41.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003104/1.475, allocations: 1.158 MB / 0.8323 GB, free: 40.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/1.477, allocations: 99.97 kB / 0.8324 GB, free: 40.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/1.479, allocations: 235.8 kB / 0.8326 GB, free: 40.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007507/1.48, allocations: 343.6 kB / 0.833 GB, free: 39.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/1.48, allocations: 132 kB / 0.8331 GB, free: 39.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004961/1.485, allocations: 3.101 MB / 0.8361 GB, free: 36.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.485, allocations: 0 / 0.8361 GB, free: 36.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008237/1.493, allocations: 1.889 MB / 0.838 GB, free: 34.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.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 (396): * Single equations (assignments): 387 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,41.8%) 44,(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.001781/1.495, allocations: 0.5766 MB / 0.8385 GB, free: 34.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01301/1.508, allocations: 8.035 MB / 0.8464 GB, free: 26.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.508, allocations: 2 kB / 0.8464 GB, free: 26.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007375/1.516, allocations: 4.662 MB / 0.8509 GB, free: 21.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/1.526, allocations: 1.286 MB / 0.8522 GB, free: 20.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2579/1.784, allocations: 23.19 MB / 0.8748 GB, free: 145.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/1.796, allocations: 6.637 MB / 0.8813 GB, free: 144.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002189/1.798, allocations: 442.4 kB / 0.8817 GB, free: 144.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/1.798, allocations: 0 / 0.8817 GB, free: 144.9 MB / 490.7 MB Notification: Performance of Templates: time 1.299/3.098, allocations: 0.5151 GB / 1.397 GB, free: 153.3 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches