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_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 171 kB / 17.4 MB, free: 4.422 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.25/1.25, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008762/0.0008761, allocations: 97.42 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 11.94 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1945, allocations: 50.41 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.4851, allocations: 123.7 MB / 0.5141 GB, free: 101.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4854, allocations: 98.19 kB / 0.5142 GB, free: 101.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2541/0.7395, allocations: 117.6 MB / 0.6291 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7395, allocations: 0 / 0.6291 GB, free: 15.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005983/0.7401, allocations: 135.8 kB / 0.6292 GB, free: 15.83 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01677/0.7569, allocations: 5.373 MB / 0.6344 GB, free: 10.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.757, allocations: 19.95 kB / 0.6345 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005406/0.7624, allocations: 0.9972 MB / 0.6354 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.7726, allocations: 4.017 MB / 0.6394 GB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004328/0.7731, allocations: 390.6 kB / 0.6397 GB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001877/0.775, allocations: 0.508 MB / 0.6402 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/0.7927, allocations: 6.87 MB / 0.6469 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/0.7931, allocations: 19.78 kB / 0.647 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001643/0.7947, allocations: 220 kB / 0.6472 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002565/0.795, allocations: 226.2 kB / 0.6474 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/0.8093, allocations: 5.596 MB / 0.6528 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2554/1.065, allocations: 21.45 MB / 0.6738 GB, free: 45.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007354/1.072, allocations: 8.759 MB / 0.6823 GB, free: 39.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/1.075, allocations: 2.274 MB / 0.6846 GB, free: 39.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/1.087, allocations: 6.209 MB / 0.6906 GB, free: 38.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/1.087, allocations: 60.19 kB / 0.6907 GB, free: 38.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=222): time 3.667e-06/1.087, allocations: 0 / 0.6907 GB, free: 38.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=241): time 0.02308/1.11, allocations: 11.63 MB / 0.702 GB, free: 36.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.11, allocations: 74.38 kB / 0.7021 GB, free: 36.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/1.115, allocations: 2.938 MB / 0.705 GB, free: 35.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000294/1.116, allocations: 71.39 kB / 0.7051 GB, free: 35.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/1.117, allocations: 2.303 MB / 0.7073 GB, free: 35.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007194/1.118, allocations: 0.8141 MB / 0.7081 GB, free: 34.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/1.118, allocations: 59.28 kB / 0.7082 GB, free: 34.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/1.118, allocations: 423.3 kB / 0.7086 GB, free: 34.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/1.12, allocations: 1.36 MB / 0.7099 GB, free: 34.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/1.123, allocations: 2.115 MB / 0.712 GB, free: 33.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004394/1.127, allocations: 3.678 MB / 0.7155 GB, free: 32.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/1.127, allocations: 3.969 kB / 0.7155 GB, free: 32.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.007104/1.134, allocations: 4.647 MB / 0.7201 GB, free: 31.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/1.134, allocations: 19.3 kB / 0.7201 GB, free: 31.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/1.134, allocations: 22.81 kB / 0.7201 GB, free: 31.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/1.136, allocations: 0.7485 MB / 0.7209 GB, free: 31.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/1.138, allocations: 0.6425 MB / 0.7215 GB, free: 31.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00952/1.148, allocations: 13.4 MB / 0.7346 GB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/1.151, allocations: 159 kB / 0.7347 GB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005263/1.151, allocations: 119.5 kB / 0.7348 GB, free: 20.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003387/1.155, allocations: 1.606 MB / 0.7364 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008962/1.156, allocations: 323.6 kB / 0.7367 GB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007081/1.163, allocations: 4.234 MB / 0.7408 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.163, allocations: 25.8 kB / 0.7409 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-05/1.163, allocations: 11.34 kB / 0.7409 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/1.163, allocations: 10.97 kB / 0.7409 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/1.179, allocations: 9.158 MB / 0.7498 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.179, allocations: 3.375 kB / 0.7498 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.181, allocations: 392.7 kB / 0.7502 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/1.183, allocations: 0.9294 MB / 0.7511 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/1.183, allocations: 70.45 kB / 0.7512 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.195, allocations: 16.53 MB / 0.7673 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.196, allocations: 11.38 kB / 0.7673 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.206, allocations: 6.098 MB / 0.7733 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.208, allocations: 0.7038 MB / 0.774 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009984/1.209, allocations: 60.23 kB / 0.774 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/1.211, allocations: 144 kB / 0.7742 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/1.211, allocations: 198.8 kB / 0.7744 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/1.212, allocations: 76.06 kB / 0.7744 GB, free: 12.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004601/1.216, allocations: 1.994 MB / 0.7764 GB, free: 11.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.216, allocations: 0 / 0.7764 GB, free: 11.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004555/1.221, allocations: 1.023 MB / 0.7774 GB, free: 11.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 173 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(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.0008679/1.222, allocations: 445.1 kB / 0.7778 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006803/1.229, allocations: 4.583 MB / 0.7823 GB, free: 9.062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.229, allocations: 0 / 0.7823 GB, free: 9.062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004688/1.233, allocations: 3.075 MB / 0.7853 GB, free: 6.246 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006882/1.24, allocations: 0.8611 MB / 0.7861 GB, free: 5.574 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02176/1.262, allocations: 11.86 MB / 0.7977 GB, free: 10.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004957/1.267, allocations: 3.434 MB / 0.8011 GB, free: 8.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00324/1.27, allocations: 0.7713 MB / 0.8018 GB, free: 7.535 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000894/1.271, allocations: 207.3 kB / 0.802 GB, free: 7.34 MB / 458.7 MB Notification: Performance of SimCode: time 1.142e-06/1.271, allocations: 0 / 0.802 GB, free: 7.34 MB / 458.7 MB Notification: Performance of Templates: time 0.2941/1.565, allocations: 51.57 MB / 0.8524 GB, free: 77.02 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches