Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007694/0.0007694, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008499/0.00085, allocations: 192.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002298/0.0002298, allocations: 7.984 kB / 307.1 MB, free: 1.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09162, allocations: 51.52 MB / 358.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.1882/0.2799, allocations: 30.32 MB / 389 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01797/0.2979, allocations: 9.264 MB / 398.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006842/0.3048, allocations: 231.4 kB / 398.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006745/0.3115, allocations: 1.785 MB / 400.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.3232, allocations: 3.134 MB / 403.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006014/0.3293, allocations: 1.531 MB / 404.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02372/0.353, allocations: 15.98 MB / 420.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03425/0.3873, allocations: 17.73 MB / 438.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009939/0.3973, allocations: 4.851 MB / 443.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009103/0.4064, allocations: 5.53 MB / 449 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002863/0.4093, allocations: 0.7382 MB / 449.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005858/0.4152, allocations: 1.128 MB / 450.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004318/0.4195, allocations: 2.382 MB / 453.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005007/0.4246, allocations: 2.426 MB / 455.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02309/0.4477, allocations: 21.28 MB / 477 MB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4477, allocations: 4 kB / 477 MB, free: 5.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4478, allocations: 0 / 477 MB, free: 5.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006443/0.4484, allocations: 0 / 477 MB, free: 5.645 MB / 382.1 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.0336/0.482, allocations: 12.61 MB / 489.6 MB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4821, allocations: 12.03 kB / 489.6 MB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03612/0.5182, allocations: 6.763 MB / 496.4 MB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/0.5328, allocations: 7.819 MB / 0.4924 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007365/0.5335, allocations: 0.8146 MB / 0.4932 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003506/0.5371, allocations: 1.082 MB / 0.4942 GB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04023/0.5773, allocations: 17.33 MB / 0.5111 GB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003023/0.5776, allocations: 15.91 kB / 0.5112 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002008/0.5797, allocations: 452 kB / 0.5116 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005784/0.5802, allocations: 0.6397 MB / 0.5122 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03359/0.6138, allocations: 16.29 MB / 0.5281 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4293/1.043, allocations: 56.08 MB / 0.5829 GB, free: 90.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01957/1.063, allocations: 33.65 MB / 0.6157 GB, free: 59.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006737/1.07, allocations: 4.469 MB / 0.6201 GB, free: 56.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01873/1.088, allocations: 12.47 MB / 0.6323 GB, free: 44.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003656/1.092, allocations: 3.094 MB / 0.6353 GB, free: 40.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 5.62e-06/1.092, allocations: 0 / 0.6353 GB, free: 40.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.0497/1.142, allocations: 25.24 MB / 0.66 GB, free: 15.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/1.142, allocations: 415.4 kB / 0.6604 GB, free: 15.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/1.148, allocations: 4.564 MB / 0.6648 GB, free: 10.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004256/1.148, allocations: 105.7 kB / 0.6649 GB, free: 10.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002738/1.151, allocations: 4.765 MB / 0.6696 GB, free: 5.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/1.152, allocations: 1.546 MB / 0.6711 GB, free: 4.012 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/1.152, allocations: 124 kB / 0.6712 GB, free: 3.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/1.152, allocations: 0.5384 MB / 0.6717 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003478/1.156, allocations: 2.811 MB / 0.6745 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005631/1.161, allocations: 4.999 MB / 0.6793 GB, free: 10.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005905/1.167, allocations: 3.854 MB / 0.6831 GB, free: 6.699 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-05/1.167, allocations: 20 kB / 0.6831 GB, free: 6.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01666/1.184, allocations: 9.533 MB / 0.6924 GB, free: 13.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/1.184, allocations: 32 kB / 0.6925 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.971e-05/1.184, allocations: 64 kB / 0.6925 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/1.188, allocations: 1.484 MB / 0.694 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005652/1.194, allocations: 1.338 MB / 0.6953 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/1.215, allocations: 16.29 MB / 0.7112 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/1.22, allocations: 363.5 kB / 0.7115 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009892/1.221, allocations: 284 kB / 0.7118 GB, free: 8.574 MB / 494.1 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.00767/1.228, allocations: 3.905 MB / 0.7156 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.23, allocations: 0.4978 MB / 0.7161 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2023/1.432, allocations: 7.944 MB / 0.7239 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/1.432, allocations: 50.61 kB / 0.7239 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-05/1.432, allocations: 19.78 kB / 0.7239 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.244e-05/1.432, allocations: 22.84 kB / 0.724 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02843/1.461, allocations: 17.46 MB / 0.741 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.461, allocations: 7.562 kB / 0.741 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002882/1.464, allocations: 0.7504 MB / 0.7417 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/1.467, allocations: 1.564 MB / 0.7433 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/1.467, allocations: 109.7 kB / 0.7434 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/1.485, allocations: 19.55 MB / 0.7625 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.485, allocations: 7.688 kB / 0.7625 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/1.5, allocations: 11.42 MB / 0.7736 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/1.502, allocations: 1.158 MB / 0.7748 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00086/1.503, allocations: 99.47 kB / 0.7749 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.505, allocations: 245.2 kB / 0.7751 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006407/1.506, allocations: 339.4 kB / 0.7754 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/1.506, allocations: 134.4 kB / 0.7755 GB, free: 132.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004048/1.51, allocations: 3.106 MB / 0.7786 GB, free: 130 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.51, allocations: 0 / 0.7786 GB, free: 130 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006013/1.516, allocations: 1.888 MB / 0.7804 GB, free: 128.1 MB / 494.1 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.001361/1.518, allocations: 0.5894 MB / 0.781 GB, free: 127.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01084/1.528, allocations: 8.044 MB / 0.7888 GB, free: 119.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.528, allocations: 0 / 0.7888 GB, free: 119.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006541/1.535, allocations: 4.644 MB / 0.7934 GB, free: 115.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005956/1.541, allocations: 1.305 MB / 0.7947 GB, free: 113.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/1.57, allocations: 23.48 MB / 0.8176 GB, free: 90.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005854/1.576, allocations: 6.835 MB / 0.8243 GB, free: 83.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005363/1.581, allocations: 1.854 MB / 0.8261 GB, free: 81.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.582, allocations: 395.4 kB / 0.8264 GB, free: 81.17 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/1.582, allocations: 4 kB / 0.8265 GB, free: 81.17 MB / 494.1 MB Notification: Performance of Templates: time 0.289/1.871, allocations: 80.4 MB / 0.905 GB, free: 146.9 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches