Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009834/0.0009835, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.401/1.401, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007954/0.0007955, allocations: 98.5 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 8 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2223, allocations: 47.58 MB / 377.1 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3235/0.5458, allocations: 153.5 MB / 0.5181 GB, free: 102.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.5461, allocations: 111.4 kB / 0.5183 GB, free: 102.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299/1.845, allocations: 453.5 MB / 0.9611 GB, free: 8.895 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.845, allocations: 0 / 0.9611 GB, free: 8.895 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001221/1.846, allocations: 331.6 kB / 0.9614 GB, free: 8.57 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.04869/1.895, allocations: 13.93 MB / 0.975 GB, free: 10.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.895, allocations: 16.03 kB / 0.975 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03723/1.932, allocations: 6.494 MB / 0.9813 GB, free: 3.992 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3125/2.245, allocations: 10.87 MB / 0.992 GB, free: 30.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00136/2.246, allocations: 1.054 MB / 0.993 GB, free: 30.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005793/2.252, allocations: 1.372 MB / 0.9943 GB, free: 30.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05582/2.308, allocations: 23.77 MB / 1.018 GB, free: 29.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005497/2.308, allocations: 19.69 kB / 1.018 GB, free: 29.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003695/2.312, allocations: 0.5885 MB / 1.018 GB, free: 29.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001213/2.313, allocations: 0.9353 MB / 1.019 GB, free: 28.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04385/2.357, allocations: 21.38 MB / 1.04 GB, free: 28.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.137/2.494, allocations: 75.21 MB / 1.113 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03151/2.526, allocations: 28.43 MB / 1.141 GB, free: 7.711 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01918/2.545, allocations: 9.544 MB / 1.15 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3872/2.932, allocations: 31.28 MB / 1.181 GB, free: 72.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.332e-05/2.932, allocations: 118.7 kB / 1.181 GB, free: 72.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=936): time 1.332e-05/2.932, allocations: 0 / 1.181 GB, free: 72.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=944): time 0.1342/3.066, allocations: 56.95 MB / 1.237 GB, free: 66.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/3.067, allocations: 159 kB / 1.237 GB, free: 66.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008685/3.075, allocations: 4.669 MB / 1.241 GB, free: 66.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001968/3.077, allocations: 155.9 kB / 1.242 GB, free: 66.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002911/3.08, allocations: 5.337 MB / 1.247 GB, free: 63.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004207/3.084, allocations: 3.112 MB / 1.25 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/3.086, allocations: 168.6 kB / 1.25 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007135/3.086, allocations: 0.6886 MB / 1.251 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00967/3.096, allocations: 6.076 MB / 1.257 GB, free: 61.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/3.108, allocations: 7.984 MB / 1.264 GB, free: 59.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02106/3.129, allocations: 14.86 MB / 1.279 GB, free: 55.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-05/3.129, allocations: 20.91 kB / 1.279 GB, free: 55.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1209) (initialization): time 0.0367/3.166, allocations: 18.64 MB / 1.297 GB, free: 47.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/3.166, allocations: 31.12 kB / 1.297 GB, free: 47.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/3.166, allocations: 50.25 kB / 1.297 GB, free: 47.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/3.178, allocations: 5.917 MB / 1.303 GB, free: 45.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/3.184, allocations: 1.52 MB / 1.304 GB, free: 45.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/3.207, allocations: 20.04 MB / 1.324 GB, free: 28.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00885/3.216, allocations: 433.5 kB / 1.324 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00272/3.219, allocations: 374.8 kB / 1.325 GB, free: 27.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (802): * Single equations (assignments): 749 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * 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: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.01322/3.232, allocations: 5.199 MB / 1.33 GB, free: 23.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003291/3.235, allocations: 0.6594 MB / 1.331 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03768/3.273, allocations: 18.27 MB / 1.348 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3358/3.609, allocations: 14.78 MB / 1.363 GB, free: 70.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.355e-05/3.609, allocations: 7.156 kB / 1.363 GB, free: 70.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001675/3.609, allocations: 41.58 kB / 1.363 GB, free: 70.26 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.091/3.7, allocations: 35.61 MB / 1.398 GB, free: 69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001321/3.7, allocations: 5.406 kB / 1.398 GB, free: 69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005083/3.705, allocations: 1.042 MB / 1.399 GB, free: 69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01248/3.718, allocations: 5.991 MB / 1.405 GB, free: 68.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002064/3.72, allocations: 209.9 kB / 1.405 GB, free: 68.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02696/3.747, allocations: 24.29 MB / 1.428 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/3.747, allocations: 8.219 kB / 1.428 GB, free: 58.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04875/3.796, allocations: 27.01 MB / 1.455 GB, free: 49.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006184/3.802, allocations: 2.115 MB / 1.457 GB, free: 48.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003106/3.805, allocations: 145.1 kB / 1.457 GB, free: 48.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006098/3.811, allocations: 376.6 kB / 1.457 GB, free: 48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002748/3.814, allocations: 0.7074 MB / 1.458 GB, free: 47.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001661/3.816, allocations: 254.5 kB / 1.458 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006255/3.822, allocations: 3.151 MB / 1.461 GB, free: 46.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/3.822, allocations: 0 / 1.461 GB, free: 46.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01184/3.834, allocations: 2.498 MB / 1.464 GB, free: 46.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,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 (554): * Single equations (assignments): 500 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.002415/3.836, allocations: 0.6392 MB / 1.464 GB, free: 46.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02904/3.865, allocations: 15.63 MB / 1.48 GB, free: 39.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/3.865, allocations: 2.922 kB / 1.48 GB, free: 39.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01694/3.882, allocations: 8.851 MB / 1.488 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01507/3.897, allocations: 1.589 MB / 1.49 GB, free: 33.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0593/3.957, allocations: 34.66 MB / 1.524 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0232/3.98, allocations: 9.435 MB / 1.533 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01026/3.99, allocations: 2.075 MB / 1.535 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/3.993, allocations: 452.1 kB / 1.535 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/3.993, allocations: 4 kB / 1.535 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of Templates: time 0.5563/4.55, allocations: 164.3 MB / 1.696 GB, free: 15.17 MB / 0.5105 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches