Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.1.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=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 47.92 kB / 378.3 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2331, allocations: 53.37 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0406/0.2737, allocations: 33.39 MB / 465 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02346/0.2972, allocations: 10.03 MB / 475.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007/0.3042, allocations: 358.1 kB / 475.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02533/0.3295, allocations: 9.595 MB / 485 MB, free: 1.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01631/0.3458, allocations: 4.137 MB / 489.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008457/0.3543, allocations: 2.413 MB / 491.6 MB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02494/0.3792, allocations: 16.64 MB / 0.4963 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04475/0.424, allocations: 20.3 MB / 0.5161 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0176/0.4416, allocations: 8.728 MB / 0.5246 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01919/0.4607, allocations: 9.206 MB / 0.5336 GB, free: 3.344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007688/0.4684, allocations: 2.414 MB / 0.536 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4089/0.8774, allocations: 2.807 MB / 0.5387 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006467/0.8838, allocations: 4.82 MB / 0.5434 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01353/0.8974, allocations: 7.169 MB / 0.5504 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02802/0.9254, allocations: 32.37 MB / 0.582 GB, free: 23.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9254, allocations: 4 kB / 0.582 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.9254, allocations: 0.8125 kB / 0.582 GB, free: 23.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000808/0.9262, allocations: 0 / 0.582 GB, free: 23.21 MB / 446.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.0525/0.9787, allocations: 18.97 MB / 0.6006 GB, free: 11.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.9787, allocations: 11.72 kB / 0.6006 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04466/1.023, allocations: 8.278 MB / 0.6087 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02536/1.049, allocations: 10.35 MB / 0.6188 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001281/1.05, allocations: 1.064 MB / 0.6198 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005818/1.056, allocations: 1.395 MB / 0.6212 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06344/1.119, allocations: 23.1 MB / 0.6437 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007193/1.12, allocations: 23.89 kB / 0.6438 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005263/1.125, allocations: 0.5749 MB / 0.6443 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00103/1.126, allocations: 0.7787 MB / 0.6451 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05085/1.177, allocations: 20.99 MB / 0.6656 GB, free: 11.62 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1378/1.315, allocations: 63.04 MB / 0.7271 GB, free: 12.47 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02913/1.344, allocations: 13.87 MB / 0.7407 GB, free: 0.6523 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00817/1.352, allocations: 4.725 MB / 0.7453 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0222/1.374, allocations: 11.42 MB / 0.7564 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.693e-05/1.375, allocations: 82.77 kB / 0.7565 GB, free: 0.5469 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.085e-06/1.375, allocations: 0 / 0.7565 GB, free: 0.5469 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.2654/1.64, allocations: 25.83 MB / 0.7817 GB, free: 192.6 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.64, allocations: 128.4 kB / 0.7819 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006639/1.647, allocations: 5.514 MB / 0.7873 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006946/1.647, allocations: 105.4 kB / 0.7874 GB, free: 190.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002503/1.65, allocations: 6.385 MB / 0.7936 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.651, allocations: 1.821 MB / 0.7954 GB, free: 184.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001946/1.653, allocations: 1.48 MB / 0.7968 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.334e-05/1.653, allocations: 305.1 kB / 0.7971 GB, free: 183.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005654/1.659, allocations: 3.635 MB / 0.8007 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005463/1.664, allocations: 6.533 MB / 0.807 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.674, allocations: 10.79 MB / 0.8176 GB, free: 164.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.606e-05/1.674, allocations: 32 kB / 0.8176 GB, free: 164.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01672/1.691, allocations: 11.99 MB / 0.8293 GB, free: 154.2 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/1.691, allocations: 44 kB / 0.8293 GB, free: 154.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/1.691, allocations: 96.03 kB / 0.8294 GB, free: 154.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003828/1.695, allocations: 1.583 MB / 0.831 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005696/1.701, allocations: 1.676 MB / 0.8326 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/1.719, allocations: 18.73 MB / 0.8509 GB, free: 132.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005737/1.725, allocations: 422.1 kB / 0.8513 GB, free: 132.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/1.726, allocations: 375.9 kB / 0.8517 GB, free: 132.2 MB / 0.5763 GB 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 (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,52.1%), (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.007749/1.734, allocations: 5.202 MB / 0.8568 GB, free: 126.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/1.735, allocations: 0.5899 MB / 0.8573 GB, free: 126.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/1.749, allocations: 9.136 MB / 0.8663 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008346/1.757, allocations: 5.856 MB / 0.872 GB, free: 111.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.662e-05/1.757, allocations: 24 kB / 0.872 GB, free: 111.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.882e-05/1.758, allocations: 27.89 kB / 0.872 GB, free: 111.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03235/1.79, allocations: 17.97 MB / 0.8896 GB, free: 93.21 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/1.79, allocations: 11.88 kB / 0.8896 GB, free: 93.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003506/1.793, allocations: 0.8743 MB / 0.8904 GB, free: 92.33 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004241/1.798, allocations: 1.627 MB / 0.892 GB, free: 90.68 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005062/1.798, allocations: 136 kB / 0.8921 GB, free: 90.55 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02075/1.819, allocations: 21.98 MB / 0.9136 GB, free: 67.87 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.819, allocations: 16 kB / 0.9136 GB, free: 67.86 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/1.839, allocations: 13.53 MB / 0.9268 GB, free: 54 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003831/1.843, allocations: 1.306 MB / 0.9281 GB, free: 52.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/1.844, allocations: 111.9 kB / 0.9282 GB, free: 52.59 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003841/1.848, allocations: 279.7 kB / 0.9285 GB, free: 52.32 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/1.849, allocations: 440.2 kB / 0.9289 GB, free: 51.89 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000479/1.849, allocations: 160 kB / 0.9291 GB, free: 51.73 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006438/1.856, allocations: 3.586 MB / 0.9326 GB, free: 48.16 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.4e-07/1.856, allocations: 3.938 kB / 0.9326 GB, free: 48.16 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008705/1.865, allocations: 2.336 MB / 0.9349 GB, free: 45.82 MB / 0.5763 GB 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 (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,5,100.0%), (1,8,100.0%), (1,13,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.0009123/1.865, allocations: 307.8 kB / 0.9351 GB, free: 45.52 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01348/1.879, allocations: 9.456 MB / 0.9444 GB, free: 35.99 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.879, allocations: 384 / 0.9444 GB, free: 35.99 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007201/1.886, allocations: 5.148 MB / 0.9494 GB, free: 30.75 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007105/1.893, allocations: 1.448 MB / 0.9508 GB, free: 29.33 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/1.93, allocations: 25.05 MB / 0.9753 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2102/2.14, allocations: 8.491 MB / 0.9836 GB, free: 175.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006464/2.147, allocations: 2.488 MB / 0.986 GB, free: 175.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/2.148, allocations: 464.6 kB / 0.9865 GB, free: 175.1 MB / 0.5763 GB Notification: Performance of SimCode: time 8.22e-07/2.148, allocations: 0 / 0.9865 GB, free: 175.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1484/2.297, allocations: 103.6 MB / 1.088 GB, free: 99.91 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.89249081723392]