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_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 103.8 kB / 16.51 MB, free: 6.645 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.001876/0.001876, allocations: 195.2 kB / 17.42 MB, free: 6.066 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 13.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009388/0.0009389, allocations: 43.17 kB / 300 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08585/0.0868, allocations: 49.46 MB / 349.4 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1955/0.2824, allocations: 37.57 MB / 387 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02238/0.3048, allocations: 9.912 MB / 396.9 MB, free: 20 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009381/0.3142, allocations: 286.9 kB / 397.2 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02208/0.3363, allocations: 9.565 MB / 406.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.3501, allocations: 3.692 MB / 410.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007356/0.3575, allocations: 2.198 MB / 412.7 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02221/0.3797, allocations: 16.61 MB / 429.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04278/0.4225, allocations: 25.51 MB / 454.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01294/0.4355, allocations: 7.173 MB / 461.9 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01469/0.4502, allocations: 8.808 MB / 470.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004987/0.4552, allocations: 1.539 MB / 472.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007868/0.4631, allocations: 1.933 MB / 474.2 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005645/0.4688, allocations: 3.895 MB / 478.1 MB, free: 5.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01326/0.4821, allocations: 8.269 MB / 486.4 MB, free: 12.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03507/0.5171, allocations: 31.3 MB / 0.5056 GB, free: 13.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5172, allocations: 0 / 0.5056 GB, free: 13.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5172, allocations: 0 / 0.5056 GB, free: 13.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007838/0.518, allocations: 4 kB / 0.5056 GB, free: 13.51 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.3693/0.8873, allocations: 18.74 MB / 0.5239 GB, free: 110.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.8873, allocations: 9.656 kB / 0.5239 GB, free: 110.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04437/0.9317, allocations: 8.251 MB / 0.5319 GB, free: 109.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01848/0.9502, allocations: 9.872 MB / 0.5416 GB, free: 103.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006526/0.9509, allocations: 1.068 MB / 0.5426 GB, free: 103.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004231/0.9551, allocations: 1.4 MB / 0.544 GB, free: 102.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0448/1, allocations: 22.77 MB / 0.5662 GB, free: 83.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005601/1.001, allocations: 23.8 kB / 0.5662 GB, free: 83.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00403/1.005, allocations: 0.58 MB / 0.5668 GB, free: 82.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006474/1.005, allocations: 0.7754 MB / 0.5676 GB, free: 82.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03818/1.043, allocations: 21.03 MB / 0.5881 GB, free: 61.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1117/1.155, allocations: 72.9 MB / 0.6593 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03435/1.19, allocations: 42.45 MB / 0.7007 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1857/1.375, allocations: 5.244 MB / 0.7059 GB, free: 160.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02112/1.396, allocations: 12.81 MB / 0.7184 GB, free: 156.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/1.397, allocations: 96.77 kB / 0.7185 GB, free: 156.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=504): time 8.495e-06/1.397, allocations: 0 / 0.7185 GB, free: 156.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=512): time 0.05083/1.447, allocations: 26.67 MB / 0.7445 GB, free: 145.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/1.448, allocations: 132.3 kB / 0.7446 GB, free: 145.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008541/1.456, allocations: 5.754 MB / 0.7502 GB, free: 143 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006545/1.457, allocations: 113 kB / 0.7504 GB, free: 142.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002541/1.459, allocations: 6.142 MB / 0.7564 GB, free: 138.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001444/1.461, allocations: 1.753 MB / 0.7581 GB, free: 137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002973/1.464, allocations: 1.462 MB / 0.7595 GB, free: 136.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.989e-05/1.464, allocations: 305.1 kB / 0.7598 GB, free: 136 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004904/1.469, allocations: 3.674 MB / 0.7634 GB, free: 134.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005607/1.474, allocations: 6.51 MB / 0.7697 GB, free: 126.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.485, allocations: 10.85 MB / 0.7803 GB, free: 114.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.745e-05/1.485, allocations: 24 kB / 0.7803 GB, free: 114.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01772/1.503, allocations: 12.16 MB / 0.7922 GB, free: 102.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/1.503, allocations: 47.94 kB / 0.7923 GB, free: 102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/1.503, allocations: 92 kB / 0.7924 GB, free: 101.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0043/1.507, allocations: 1.6 MB / 0.7939 GB, free: 100.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005621/1.513, allocations: 1.665 MB / 0.7955 GB, free: 98.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/1.532, allocations: 18.23 MB / 0.8133 GB, free: 79.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005959/1.538, allocations: 423.5 kB / 0.8138 GB, free: 79.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.539, allocations: 372 kB / 0.8141 GB, free: 79.01 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,1,100.0%), (12,64,53.5%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008043/1.547, allocations: 5.184 MB / 0.8192 GB, free: 73.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/1.549, allocations: 0.5942 MB / 0.8197 GB, free: 73.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/1.564, allocations: 9.445 MB / 0.829 GB, free: 63.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008149/1.572, allocations: 5.947 MB / 0.8348 GB, free: 57.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.019e-05/1.572, allocations: 20 kB / 0.8348 GB, free: 57.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.742e-05/1.572, allocations: 35.83 kB / 0.8348 GB, free: 57.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03204/1.605, allocations: 21.13 MB / 0.8555 GB, free: 36.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.605, allocations: 7.094 kB / 0.8555 GB, free: 36.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.608, allocations: 0.8706 MB / 0.8563 GB, free: 35.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/1.612, allocations: 1.641 MB / 0.8579 GB, free: 33.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003432/1.612, allocations: 128 kB / 0.8581 GB, free: 33.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/1.632, allocations: 21.35 MB / 0.8789 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.632, allocations: 11.88 kB / 0.8789 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2128/1.845, allocations: 13.84 MB / 0.8924 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002996/1.848, allocations: 1.362 MB / 0.8938 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009778/1.849, allocations: 108.9 kB / 0.8939 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.852, allocations: 290 kB / 0.8941 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009862/1.853, allocations: 413.8 kB / 0.8945 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003544/1.854, allocations: 153.4 kB / 0.8947 GB, free: 143.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005958/1.859, allocations: 3.877 MB / 0.8985 GB, free: 141.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.859, allocations: 3.906 kB / 0.8985 GB, free: 141.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008149/1.868, allocations: 2.341 MB / 0.9008 GB, free: 141.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 simulation (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008443/1.869, allocations: 331.7 kB / 0.9011 GB, free: 141.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01251/1.881, allocations: 9.94 MB / 0.9108 GB, free: 137.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.881, allocations: 5.781 kB / 0.9108 GB, free: 137.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00705/1.888, allocations: 5.477 MB / 0.9161 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007842/1.896, allocations: 1.533 MB / 0.9176 GB, free: 134.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04021/1.936, allocations: 30.91 MB / 0.9478 GB, free: 110.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008798/1.945, allocations: 8.849 MB / 0.9565 GB, free: 103.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006927/1.952, allocations: 2.53 MB / 0.9589 GB, free: 102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.953, allocations: 453.8 kB / 0.9594 GB, free: 101.5 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/1.953, allocations: 0 / 0.9594 GB, free: 101.5 MB / 494.1 MB Notification: Performance of Templates: time 0.1353/2.089, allocations: 98.87 MB / 1.056 GB, free: 3.734 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches