Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.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.001508/0.001508, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.00177/0.00177, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000941/0.0009411, allocations: 51.91 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2337, allocations: 49.43 MB / 401.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03519/0.2689, allocations: 33.98 MB / 435.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01825/0.2872, allocations: 9.656 MB / 445.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005191/0.2924, allocations: 247.2 kB / 445.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0183/0.3108, allocations: 8.214 MB / 453.5 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.3223, allocations: 3.838 MB / 457.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006544/0.3288, allocations: 2.304 MB / 459.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01587/0.3447, allocations: 13.18 MB / 472.9 MB, free: 1.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03233/0.3771, allocations: 22.64 MB / 495.5 MB, free: 10.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0091/0.3862, allocations: 6.662 MB / 0.4904 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.3968, allocations: 7.331 MB / 0.4976 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00426/0.4011, allocations: 1.898 MB / 0.4994 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005952/0.407, allocations: 2.293 MB / 0.5016 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004794/0.4118, allocations: 3.799 MB / 0.5054 GB, free: 4.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01061/0.4225, allocations: 7.191 MB / 0.5124 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0264/0.4489, allocations: 25.25 MB / 0.537 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4489, allocations: 4 kB / 0.537 GB, free: 3.801 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4489, allocations: 0 / 0.537 GB, free: 3.801 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000523/0.4495, allocations: 0 / 0.537 GB, free: 3.801 MB / 462.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.3606/0.81, allocations: 14.81 MB / 0.5515 GB, free: 113.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.8101, allocations: 15.7 kB / 0.5515 GB, free: 113.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03636/0.8465, allocations: 6.764 MB / 0.5581 GB, free: 110.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.859, allocations: 8.139 MB / 0.5661 GB, free: 102 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.8594, allocations: 0.8177 MB / 0.5669 GB, free: 101.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/0.861, allocations: 1.066 MB / 0.5679 GB, free: 100.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02347/0.8845, allocations: 17.42 MB / 0.5849 GB, free: 82.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/0.8847, allocations: 15.81 kB / 0.5849 GB, free: 82.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/0.8858, allocations: 455.5 kB / 0.5854 GB, free: 82.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004161/0.8862, allocations: 0.6436 MB / 0.586 GB, free: 81.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02307/0.9093, allocations: 16.38 MB / 0.602 GB, free: 65.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06508/0.9744, allocations: 54.81 MB / 0.6555 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02357/0.998, allocations: 33.36 MB / 0.6881 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006538/1.005, allocations: 4.407 MB / 0.6924 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01983/1.024, allocations: 12.12 MB / 0.7042 GB, free: 4.316 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004621/1.029, allocations: 3.09 MB / 0.7073 GB, free: 1.16 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=434): time 6.362e-06/1.029, allocations: 3.844 kB / 0.7073 GB, free: 1.16 MB / 0.4982 GB Notification: Performance of matching and sorting (n=452): time 0.04702/1.076, allocations: 22.89 MB / 0.7296 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001845/1.076, allocations: 415.4 kB / 0.73 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007514/1.084, allocations: 4.57 MB / 0.7345 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002999/1.084, allocations: 97.7 kB / 0.7346 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003924/1.088, allocations: 4.753 MB / 0.7392 GB, free: 108 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.189/1.277, allocations: 1.539 MB / 0.7407 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003448/1.281, allocations: 1.136 MB / 0.7418 GB, free: 179 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.55e-05/1.281, allocations: 302.2 kB / 0.7421 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004135/1.285, allocations: 2.828 MB / 0.7449 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004579/1.289, allocations: 5.012 MB / 0.7498 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008132/1.298, allocations: 8.3 MB / 0.7579 GB, free: 169 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.949e-05/1.298, allocations: 19.5 kB / 0.7579 GB, free: 169 MB / 0.5294 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01331/1.311, allocations: 9.579 MB / 0.7672 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/1.311, allocations: 29.84 kB / 0.7673 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.368e-05/1.311, allocations: 66.12 kB / 0.7673 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003603/1.315, allocations: 1.483 MB / 0.7688 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004853/1.32, allocations: 1.336 MB / 0.7701 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/1.337, allocations: 17.59 MB / 0.7873 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004444/1.341, allocations: 356.9 kB / 0.7876 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004756/1.342, allocations: 287.2 kB / 0.7879 GB, free: 149.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * 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 (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004905/1.347, allocations: 3.903 MB / 0.7917 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009377/1.347, allocations: 0.4962 MB / 0.7922 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.359, allocations: 7.951 MB / 0.7999 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.743e-05/1.359, allocations: 27.91 kB / 0.8 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/1.359, allocations: 0 / 0.8 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.361, allocations: 1.127 MB / 0.8011 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006831/1.362, allocations: 88.5 kB / 0.8011 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.365, allocations: 230.4 kB / 0.8014 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005494/1.365, allocations: 371.2 kB / 0.8017 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01193/1.377, allocations: 7.47 MB / 0.809 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009908/1.387, allocations: 8.877 MB / 0.8177 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002844/1.39, allocations: 2.782 MB / 0.8204 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003545/1.393, allocations: 3.116 MB / 0.8234 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of Backend: time 2.4e-07/1.393, allocations: 0 / 0.8234 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.404, allocations: 6.429 MB / 0.8297 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02371/1.427, allocations: 19.03 MB / 0.8483 GB, free: 89 MB / 0.5294 GB Notification: Performance of Templates: time 0.3032/1.731, allocations: 94.25 MB / 0.9404 GB, free: 188.7 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches