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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007238/0.0007238, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.00182, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006736/0.0006736, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008786/0.001552, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.06/1.06, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09557/1.156, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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=10000,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=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.047e-05, allocations: 2.312 kB / 239.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1631/0.1631, allocations: 36.28 MB / 275.9 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02164/0.1848, allocations: 10.56 MB / 286.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008748/0.1935, allocations: 354.5 kB / 286.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01585/0.2093, allocations: 10.82 MB / 297.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01433/0.2237, allocations: 4.236 MB / 301.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006334/0.23, allocations: 2.402 MB / 304.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01861/0.2486, allocations: 17.17 MB / 321.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03107/0.2797, allocations: 20.43 MB / 341.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02218/0.3019, allocations: 13.44 MB / 355.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01459/0.3165, allocations: 9.257 MB / 364.5 MB, free: 4.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005683/0.3221, allocations: 2.406 MB / 366.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008903/0.331, allocations: 2.819 MB / 369.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006926/0.338, allocations: 3.991 MB / 373.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01666/0.3546, allocations: 5.234 MB / 379 MB, free: 5.973 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02469/0.3793, allocations: 14.52 MB / 393.5 MB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.781e-05/0.3793, allocations: 0 / 393.5 MB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3793, allocations: 0 / 393.5 MB, free: 7.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007965/0.3801, allocations: 0 / 393.5 MB, free: 7.93 MB / 362.7 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.03947/0.4196, allocations: 20.79 MB / 414.3 MB, free: 3.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4196, allocations: 15.97 kB / 414.3 MB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1804/0.6, allocations: 8.609 MB / 422.9 MB, free: 83.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.613, allocations: 5.444 MB / 428.3 MB, free: 83.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007546/0.6138, allocations: 1.06 MB / 429.4 MB, free: 83.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004338/0.6181, allocations: 1.41 MB / 430.8 MB, free: 83.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02947/0.6476, allocations: 11.5 MB / 442.3 MB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006331/0.6482, allocations: 21.36 kB / 442.3 MB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002478/0.6507, allocations: 0.5757 MB / 442.9 MB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00056/0.6513, allocations: 0.7786 MB / 443.7 MB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.6658, allocations: 5.596 MB / 449.3 MB, free: 81.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06878/0.7346, allocations: 44.18 MB / 493.5 MB, free: 39.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00947/0.7441, allocations: 8.056 MB / 0.4898 GB, free: 31.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003022/0.7471, allocations: 1.701 MB / 0.4914 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.7584, allocations: 6.084 MB / 0.4974 GB, free: 24.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.7584, allocations: 89.86 kB / 0.4974 GB, free: 24.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=498): time 7.624e-06/0.7584, allocations: 0 / 0.4974 GB, free: 24.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=506): time 0.02448/0.7829, allocations: 11.44 MB / 0.5086 GB, free: 12.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.783, allocations: 129.3 kB / 0.5087 GB, free: 12.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/0.7875, allocations: 3.668 MB / 0.5123 GB, free: 9.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000804/0.7883, allocations: 109.7 kB / 0.5124 GB, free: 9.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001746/0.7901, allocations: 5.695 MB / 0.518 GB, free: 4.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/0.7915, allocations: 1.799 MB / 0.5198 GB, free: 2.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001664/0.7931, allocations: 1.355 MB / 0.5211 GB, free: 1.309 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.053e-05/0.7932, allocations: 305.1 kB / 0.5214 GB, free: 1.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.7945, allocations: 1.002 MB / 0.5223 GB, free: 4 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00307/0.7976, allocations: 3.672 MB / 0.5259 GB, free: 11.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00628/0.8039, allocations: 5.407 MB / 0.5312 GB, free: 5.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.647e-05/0.8039, allocations: 24 kB / 0.5312 GB, free: 5.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.009061/0.813, allocations: 5.241 MB / 0.5364 GB, free: 460 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.8131, allocations: 44 kB / 0.5364 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/0.8132, allocations: 92 kB / 0.5365 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.8161, allocations: 1.251 MB / 0.5377 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004721/0.8208, allocations: 1.763 MB / 0.5394 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009758/0.8306, allocations: 11.36 MB / 0.5505 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/0.8352, allocations: 287.9 kB / 0.5508 GB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/0.8363, allocations: 295.4 kB / 0.5511 GB, free: 1.301 MB / 410.7 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 (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.004133/0.8405, allocations: 0.619 MB / 0.5517 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/0.8418, allocations: 0.4917 MB / 0.5522 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006338/0.8481, allocations: 3.915 MB / 0.556 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00262/0.8507, allocations: 1.882 MB / 0.5578 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.192e-05/0.8508, allocations: 16 kB / 0.5578 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/0.8508, allocations: 31.89 kB / 0.5579 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/0.8697, allocations: 9.498 MB / 0.5671 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.8698, allocations: 4 kB / 0.5671 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002913/0.8727, allocations: 1.17 MB / 0.5683 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/0.8754, allocations: 0.7135 MB / 0.569 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1757/1.051, allocations: 1.266 MB / 0.5702 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001145/1.052, allocations: 115.9 kB / 0.5703 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/1.064, allocations: 14.37 MB / 0.5844 GB, free: 95.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-05/1.064, allocations: 9.188 kB / 0.5844 GB, free: 95.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007646/1.071, allocations: 4.829 MB / 0.5891 GB, free: 94.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/1.073, allocations: 103.7 kB / 0.5892 GB, free: 94.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.074, allocations: 156.6 kB / 0.5893 GB, free: 94.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007321/1.075, allocations: 404.3 kB / 0.5897 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/1.075, allocations: 106.4 kB / 0.5898 GB, free: 94.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001901/1.077, allocations: 1.755 MB / 0.5915 GB, free: 94.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.077, allocations: 0 / 0.5915 GB, free: 94.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006471/1.083, allocations: 2.329 MB / 0.5938 GB, free: 94.48 MB / 426.7 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 (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,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.0007435/1.084, allocations: 310.3 kB / 0.5941 GB, free: 94.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005977/1.09, allocations: 4.68 MB / 0.5987 GB, free: 93.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002402/1.09, allocations: 128.5 kB / 0.5988 GB, free: 93.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003303/1.094, allocations: 2.999 MB / 0.6017 GB, free: 92.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005244/1.099, allocations: 1.909 MB / 0.6036 GB, free: 92.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08594/1.185, allocations: 21.51 MB / 0.6246 GB, free: 84.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005319/1.19, allocations: 2.812 MB / 0.6273 GB, free: 83.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003667/1.194, allocations: 0.924 MB / 0.6282 GB, free: 82.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002424/1.196, allocations: 1.313 MB / 0.6295 GB, free: 81.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/1.196, allocations: 0 / 0.6295 GB, free: 81.27 MB / 426.7 MB Notification: Performance of Templates: time 0.2715/1.468, allocations: 100.6 MB / 0.7278 GB, free: 128.9 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.882165037095547]