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.00112/0.00112, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 221.5 MB / 230.3 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008269/0.0008268, allocations: 91.48 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.602e-05, allocations: 4 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 50.42 MB / 387.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.44, allocations: 122.8 MB / 0.4983 GB, free: 3.992 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4403, allocations: 91.95 kB / 0.4984 GB, free: 3.902 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5031/0.9434, allocations: 116.4 MB / 0.612 GB, free: 90.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.9435, allocations: 0 / 0.612 GB, free: 90.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005717/0.9441, allocations: 133.4 kB / 0.6121 GB, free: 90.9 MB / 426.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.01545/0.9595, allocations: 4.938 MB / 0.6169 GB, free: 87.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.9596, allocations: 11.3 kB / 0.617 GB, free: 87.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00589/0.9655, allocations: 1.001 MB / 0.6179 GB, free: 87.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.9767, allocations: 4.593 MB / 0.6224 GB, free: 84.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.977, allocations: 168 kB / 0.6226 GB, free: 84.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001833/0.9789, allocations: 307.8 kB / 0.6229 GB, free: 83.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01047/0.9894, allocations: 5.136 MB / 0.6279 GB, free: 78.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/1.004, allocations: 5.968 MB / 0.6337 GB, free: 72.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002395/1.005, allocations: 11.89 kB / 0.6337 GB, free: 72.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001365/1.006, allocations: 7.953 kB / 0.6337 GB, free: 72.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/1.006, allocations: 234.1 kB / 0.634 GB, free: 72.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03496/1.041, allocations: 20.44 MB / 0.6539 GB, free: 51.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006665/1.048, allocations: 8.548 MB / 0.6623 GB, free: 42.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/1.051, allocations: 2.107 MB / 0.6643 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009494/1.06, allocations: 5.99 MB / 0.6702 GB, free: 33.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/1.06, allocations: 64.56 kB / 0.6702 GB, free: 33.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=220): time 3.828e-06/1.06, allocations: 0 / 0.6702 GB, free: 33.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=239): time 0.01359/1.074, allocations: 8.199 MB / 0.6782 GB, free: 25.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/1.074, allocations: 77.41 kB / 0.6783 GB, free: 25.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/1.078, allocations: 2.109 MB / 0.6804 GB, free: 23.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003279/1.079, allocations: 29.7 kB / 0.6804 GB, free: 23.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/1.08, allocations: 2.313 MB / 0.6827 GB, free: 20.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000618/1.08, allocations: 0.7814 MB / 0.6834 GB, free: 20.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/1.081, allocations: 0 / 0.6834 GB, free: 20.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/1.081, allocations: 419.9 kB / 0.6838 GB, free: 19.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/1.082, allocations: 1.243 MB / 0.685 GB, free: 18.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/1.084, allocations: 1.968 MB / 0.687 GB, free: 16.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/1.086, allocations: 1.724 MB / 0.6887 GB, free: 14.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.086, allocations: 8 kB / 0.6887 GB, free: 14.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006002/1.092, allocations: 4.336 MB / 0.6929 GB, free: 9.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.092, allocations: 16 kB / 0.6929 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/1.092, allocations: 24.66 kB / 0.6929 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/1.094, allocations: 0.7459 MB / 0.6937 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/1.096, allocations: 0.6357 MB / 0.6943 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009714/1.106, allocations: 12.79 MB / 0.7068 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/1.108, allocations: 95.78 kB / 0.7069 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003895/1.109, allocations: 120 kB / 0.707 GB, free: 10.74 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * 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.0006316/1.109, allocations: 196.2 kB / 0.7072 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007349/1.11, allocations: 288.4 kB / 0.7074 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007359/1.117, allocations: 4.024 MB / 0.7114 GB, free: 6.141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/1.117, allocations: 24 kB / 0.7114 GB, free: 6.117 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/1.117, allocations: 8 kB / 0.7114 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/1.117, allocations: 16.14 kB / 0.7114 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2538/1.371, allocations: 8.259 MB / 0.7195 GB, free: 95.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.371, allocations: 4.875 kB / 0.7195 GB, free: 95.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/1.373, allocations: 388.4 kB / 0.7199 GB, free: 95.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/1.375, allocations: 0.9057 MB / 0.7207 GB, free: 95.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/1.376, allocations: 36.41 kB / 0.7208 GB, free: 95.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/1.389, allocations: 15.85 MB / 0.7363 GB, free: 85.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.389, allocations: 7.875 kB / 0.7363 GB, free: 85.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00892/1.398, allocations: 6.162 MB / 0.7423 GB, free: 84.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.399, allocations: 0.659 MB / 0.7429 GB, free: 84.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003981/1.399, allocations: 22.77 kB / 0.7429 GB, free: 84.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.401, allocations: 103.8 kB / 0.743 GB, free: 84.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/1.401, allocations: 198 kB / 0.7432 GB, free: 84.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.401, allocations: 73.31 kB / 0.7433 GB, free: 84.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002322/1.404, allocations: 1.571 MB / 0.7448 GB, free: 84.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.404, allocations: 7.672 kB / 0.7448 GB, free: 84.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003609/1.407, allocations: 0.8935 MB / 0.7457 GB, free: 84.31 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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.0007033/1.408, allocations: 406.2 kB / 0.7461 GB, free: 84.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005399/1.414, allocations: 4.254 MB / 0.7503 GB, free: 83.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.414, allocations: 2.406 kB / 0.7503 GB, free: 83.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003648/1.417, allocations: 2.858 MB / 0.753 GB, free: 82.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/1.421, allocations: 0.6307 MB / 0.7537 GB, free: 82.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.432, allocations: 8.065 MB / 0.7615 GB, free: 80.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002704/1.435, allocations: 3.524 MB / 0.765 GB, free: 79.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002435/1.437, allocations: 0.7237 MB / 0.7657 GB, free: 79.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/1.438, allocations: 195.1 kB / 0.7659 GB, free: 79.2 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/1.438, allocations: 0 / 0.7659 GB, free: 79.2 MB / 442.7 MB Notification: Performance of Templates: time 0.05943/1.497, allocations: 40.31 MB / 0.8052 GB, free: 66.84 MB / 442.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/jenkins/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