Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001816/0.001816, allocations: 175.2 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008126/0.0008127, allocations: 85.41 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 8 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2415, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02291/0.2645, allocations: 29.94 MB / 405.1 MB, free: 18.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01702/0.2815, allocations: 8.895 MB / 414 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005354/0.2869, allocations: 199.2 kB / 414.2 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004271/0.2912, allocations: 1.783 MB / 415.9 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008613/0.2999, allocations: 3.167 MB / 419.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004155/0.304, allocations: 1.545 MB / 420.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02058/0.3246, allocations: 16.08 MB / 436.7 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03599/0.3607, allocations: 21.15 MB / 457.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009102/0.3698, allocations: 4.894 MB / 462.8 MB, free: 8.719 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009701/0.3795, allocations: 5.615 MB / 468.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003103/0.3827, allocations: 0.7383 MB / 469.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005662/0.3884, allocations: 1.124 MB / 470.2 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005901/0.3943, allocations: 2.433 MB / 472.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01579/0.4102, allocations: 5.559 MB / 478.2 MB, free: 9.188 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03437/0.4446, allocations: 21.29 MB / 499.5 MB, free: 3.836 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.4446, allocations: 0 / 499.5 MB, free: 3.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4447, allocations: 8 kB / 499.5 MB, free: 3.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008361/0.4455, allocations: 0 / 499.5 MB, free: 3.828 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: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.4476/0.8932, allocations: 12.58 MB / 0.5001 GB, free: 91 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.8932, allocations: 7.875 kB / 0.5001 GB, free: 91 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04191/0.9351, allocations: 7.736 MB / 0.5077 GB, free: 87.45 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01747/0.9527, allocations: 7.357 MB / 0.5149 GB, free: 80.08 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008647/0.9536, allocations: 0.8252 MB / 0.5157 GB, free: 79.27 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004896/0.9585, allocations: 1.085 MB / 0.5167 GB, free: 78.19 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04599/1.004, allocations: 17.79 MB / 0.5341 GB, free: 60.36 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005156/1.005, allocations: 11.91 kB / 0.5341 GB, free: 60.34 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00451/1.01, allocations: 469.1 kB / 0.5346 GB, free: 59.9 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006175/1.01, allocations: 0.6675 MB / 0.5352 GB, free: 59.23 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03788/1.048, allocations: 16.96 MB / 0.5518 GB, free: 42.26 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09931/1.147, allocations: 56.98 MB / 0.6074 GB, free: 460 kB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03621/1.184, allocations: 42.38 MB / 0.6488 GB, free: 1.762 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009087/1.193, allocations: 4.614 MB / 0.6533 GB, free: 13.13 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2982/1.491, allocations: 13.21 MB / 0.6662 GB, free: 154.2 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004778/1.496, allocations: 3.085 MB / 0.6692 GB, free: 154 MB / 458.8 MB Notification: Performance of pre-optimization done (n=434): time 8.255e-06/1.496, allocations: 0 / 0.6692 GB, free: 154 MB / 458.8 MB Notification: Performance of matching and sorting (n=452): time 0.0498/1.546, allocations: 23.47 MB / 0.6921 GB, free: 145.8 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/1.546, allocations: 416.6 kB / 0.6925 GB, free: 145.4 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007631/1.554, allocations: 4.682 MB / 0.6971 GB, free: 143.6 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009306/1.555, allocations: 101.5 kB / 0.6972 GB, free: 143.5 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004452/1.559, allocations: 4.892 MB / 0.702 GB, free: 139.9 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002011/1.561, allocations: 1.556 MB / 0.7035 GB, free: 138.7 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/1.562, allocations: 127.5 kB / 0.7036 GB, free: 138.6 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003473/1.562, allocations: 0.5541 MB / 0.7042 GB, free: 138.2 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004306/1.566, allocations: 2.861 MB / 0.707 GB, free: 136.6 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005281/1.571, allocations: 5.29 MB / 0.7121 GB, free: 130.7 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009835/1.581, allocations: 8.648 MB / 0.7206 GB, free: 121.7 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.664e-05/1.581, allocations: 24 kB / 0.7206 GB, free: 121.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01579/1.597, allocations: 9.851 MB / 0.7302 GB, free: 112.1 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/1.597, allocations: 39.98 kB / 0.7303 GB, free: 112.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/1.597, allocations: 75.94 kB / 0.7303 GB, free: 112 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003521/1.601, allocations: 1.501 MB / 0.7318 GB, free: 110.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005037/1.606, allocations: 1.408 MB / 0.7332 GB, free: 109.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/1.624, allocations: 16.31 MB / 0.7491 GB, free: 92.12 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006564/1.63, allocations: 372.1 kB / 0.7495 GB, free: 91.77 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.632, allocations: 308 kB / 0.7498 GB, free: 91.46 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * 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 (727): * Single equations (assignments): 721 * 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.01036/1.642, allocations: 3.971 MB / 0.7536 GB, free: 87.48 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002222/1.645, allocations: 0.5132 MB / 0.7541 GB, free: 86.96 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/1.661, allocations: 7.935 MB / 0.7619 GB, free: 78.94 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/1.661, allocations: 48 kB / 0.7619 GB, free: 78.89 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-05/1.661, allocations: 19.84 kB / 0.7619 GB, free: 78.88 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.988e-05/1.661, allocations: 23.91 kB / 0.762 GB, free: 78.86 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03108/1.692, allocations: 17.51 MB / 0.7791 GB, free: 61.27 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/1.692, allocations: 4 kB / 0.7791 GB, free: 61.27 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/1.695, allocations: 0.7651 MB / 0.7798 GB, free: 60.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003832/1.699, allocations: 1.546 MB / 0.7813 GB, free: 58.93 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003616/1.7, allocations: 119.9 kB / 0.7814 GB, free: 58.81 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/1.718, allocations: 19.54 MB / 0.8005 GB, free: 38.36 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.718, allocations: 8.016 kB / 0.8005 GB, free: 38.36 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.735, allocations: 11.45 MB / 0.8117 GB, free: 26.78 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003123/1.738, allocations: 1.166 MB / 0.8129 GB, free: 25.59 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007985/1.739, allocations: 103.8 kB / 0.813 GB, free: 25.49 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/1.741, allocations: 239.8 kB / 0.8132 GB, free: 25.25 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000763/1.742, allocations: 335.6 kB / 0.8135 GB, free: 24.93 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002589/1.742, allocations: 136 kB / 0.8136 GB, free: 24.79 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005035/1.747, allocations: 3.166 MB / 0.8167 GB, free: 21.63 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.81e-07/1.747, allocations: 0 / 0.8167 GB, free: 21.63 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009629/1.757, allocations: 1.913 MB / 0.8186 GB, free: 19.72 MB / 458.8 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.001593/1.758, allocations: 0.5752 MB / 0.8192 GB, free: 19.18 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01344/1.772, allocations: 8.185 MB / 0.8271 GB, free: 10.93 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/1.772, allocations: 4 kB / 0.8271 GB, free: 10.92 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.252/2.024, allocations: 4.654 MB / 0.8317 GB, free: 146.5 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/2.034, allocations: 1.283 MB / 0.8329 GB, free: 146.4 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04435/2.079, allocations: 23.57 MB / 0.856 GB, free: 136.1 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008772/2.088, allocations: 6.708 MB / 0.8625 GB, free: 133.6 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002362/2.09, allocations: 455.2 kB / 0.863 GB, free: 133.6 MB / 458.8 MB Notification: Performance of SimCode: time 8.41e-07/2.09, allocations: 0 / 0.863 GB, free: 133.6 MB / 458.8 MB Notification: Performance of Templates: time 1.374/3.464, allocations: 0.5197 GB / 1.383 GB, free: 153.5 MB / 490.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches