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.001592/0.001592, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.45/1.45, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.000826/0.0008261, allocations: 90.62 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.253e-05, allocations: 0 / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08861/0.08866, allocations: 47.57 MB / 370 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3555/0.4442, allocations: 152.8 MB / 0.5106 GB, free: 5.391 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4445, allocations: 101.9 kB / 0.5107 GB, free: 5.336 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.701/2.146, allocations: 456.7 MB / 0.9567 GB, free: 33.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/2.146, allocations: 3.938 kB / 0.9567 GB, free: 33.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001595/2.148, allocations: 331.8 kB / 0.957 GB, free: 33.87 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.05173/2.199, allocations: 13.28 MB / 0.97 GB, free: 28.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/2.199, allocations: 7.125 kB / 0.97 GB, free: 28.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03786/2.237, allocations: 6.472 MB / 0.9763 GB, free: 25.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03182/2.269, allocations: 11.5 MB / 0.9875 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001698/2.271, allocations: 1.05 MB / 0.9885 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00792/2.279, allocations: 1.368 MB / 0.9899 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07478/2.354, allocations: 23.38 MB / 1.013 GB, free: 4.289 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006588/2.354, allocations: 15.81 kB / 1.013 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005651/2.36, allocations: 0.5923 MB / 1.013 GB, free: 3.695 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001449/2.361, allocations: 0.9232 MB / 1.014 GB, free: 2.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4187/2.78, allocations: 21 MB / 1.035 GB, free: 49.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1616/2.942, allocations: 75.12 MB / 1.108 GB, free: 27.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02925/2.971, allocations: 28.25 MB / 1.136 GB, free: 6.371 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01699/2.988, allocations: 9.359 MB / 1.145 GB, free: 2.398 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07535/3.063, allocations: 30.22 MB / 1.174 GB, free: 0 / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/3.064, allocations: 124.6 kB / 1.174 GB, free: 15.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=934): time 1.258e-05/3.064, allocations: 0 / 1.174 GB, free: 15.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=942): time 0.4596/3.523, allocations: 33.83 MB / 1.207 GB, free: 73.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/3.524, allocations: 166.3 kB / 1.208 GB, free: 73.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00973/3.533, allocations: 4.101 MB / 1.212 GB, free: 73.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002579/3.536, allocations: 154.8 kB / 1.212 GB, free: 73.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005226/3.541, allocations: 5.33 MB / 1.217 GB, free: 70.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004902/3.546, allocations: 3.109 MB / 1.22 GB, free: 68.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000861/3.547, allocations: 166 kB / 1.22 GB, free: 68.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007305/3.548, allocations: 0.6906 MB / 1.221 GB, free: 68.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008971/3.557, allocations: 5.959 MB / 1.227 GB, free: 68.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/3.567, allocations: 7.84 MB / 1.234 GB, free: 66.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/3.579, allocations: 7.266 MB / 1.241 GB, free: 66.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.673e-05/3.579, allocations: 13.66 kB / 1.241 GB, free: 66.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.03651/3.616, allocations: 18.39 MB / 1.259 GB, free: 65.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/3.616, allocations: 31.31 kB / 1.259 GB, free: 65.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/3.616, allocations: 49.91 kB / 1.259 GB, free: 65.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01044/3.627, allocations: 5.864 MB / 1.265 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006872/3.633, allocations: 1.525 MB / 1.267 GB, free: 65.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/3.655, allocations: 19.97 MB / 1.286 GB, free: 52.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008208/3.663, allocations: 423.3 kB / 1.287 GB, free: 52.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002735/3.666, allocations: 384.3 kB / 1.287 GB, free: 52 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 747 * 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.003242/3.669, allocations: 0.559 MB / 1.288 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002285/3.671, allocations: 0.6596 MB / 1.288 GB, free: 51.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03366/3.705, allocations: 18.05 MB / 1.306 GB, free: 43.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02587/3.731, allocations: 14.28 MB / 1.32 GB, free: 37.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.934e-05/3.731, allocations: 10.41 kB / 1.32 GB, free: 37.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001966/3.731, allocations: 39.28 kB / 1.32 GB, free: 37.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08429/3.816, allocations: 35.35 MB / 1.354 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001156/3.816, allocations: 6.438 kB / 1.354 GB, free: 7.773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005286/3.821, allocations: 1.037 MB / 1.355 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01301/3.834, allocations: 5.949 MB / 1.361 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002493/3.837, allocations: 207.7 kB / 1.361 GB, free: 1.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3799/4.216, allocations: 24.41 MB / 1.385 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/4.217, allocations: 4.219 kB / 1.385 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05111/4.268, allocations: 27.05 MB / 1.412 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00725/4.275, allocations: 2.099 MB / 1.414 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00343/4.278, allocations: 146.6 kB / 1.414 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006545/4.285, allocations: 375.1 kB / 1.414 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002785/4.288, allocations: 0.7052 MB / 1.415 GB, free: 85.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001286/4.289, allocations: 254.3 kB / 1.415 GB, free: 85.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005874/4.295, allocations: 3.102 MB / 1.418 GB, free: 84.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/4.295, allocations: 0.5469 kB / 1.418 GB, free: 84.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01461/4.31, allocations: 2.5 MB / 1.421 GB, free: 84.82 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 498 * 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.003494/4.313, allocations: 0.7404 MB / 1.421 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03187/4.345, allocations: 15.4 MB / 1.436 GB, free: 83.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/4.345, allocations: 0 / 1.436 GB, free: 83.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01937/4.365, allocations: 8.708 MB / 1.445 GB, free: 80.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0122/4.377, allocations: 1.483 MB / 1.446 GB, free: 79.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07286/4.45, allocations: 25.95 MB / 1.472 GB, free: 69.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02213/4.472, allocations: 9.329 MB / 1.481 GB, free: 63.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01104/4.483, allocations: 2.065 MB / 1.483 GB, free: 61.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003303/4.486, allocations: 456.8 kB / 1.483 GB, free: 61.49 MB / 0.4948 GB Notification: Performance of SimCode: time 1.653e-06/4.486, allocations: 0 / 1.483 GB, free: 61.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.592/5.078, allocations: 154.7 MB / 1.634 GB, free: 68.16 MB / 0.4948 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/jenkins/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