Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00151/0.00151, allocations: 113 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.84 kB / 378.8 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2502, allocations: 53.31 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04392/0.2942, allocations: 39.16 MB / 471.3 MB, free: 12 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02349/0.3176, allocations: 10.35 MB / 481.6 MB, free: 5.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00776/0.3254, allocations: 303 kB / 481.9 MB, free: 5.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02561/0.351, allocations: 10.33 MB / 492.2 MB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0179/0.3689, allocations: 4.134 MB / 496.4 MB, free: 6.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008243/0.3772, allocations: 2.454 MB / 498.8 MB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02397/0.4011, allocations: 16.54 MB / 0.5033 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03728/0.4384, allocations: 19.34 MB / 0.5222 GB, free: 204 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01477/0.4532, allocations: 8.544 MB / 0.5305 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4737/0.9269, allocations: 9.604 MB / 0.5399 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007342/0.9342, allocations: 2.416 MB / 0.5422 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009664/0.9439, allocations: 2.83 MB / 0.545 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007247/0.9511, allocations: 4.83 MB / 0.5497 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01647/0.9676, allocations: 9.209 MB / 0.5587 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03414/1.002, allocations: 32.24 MB / 0.5902 GB, free: 9.422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/1.002, allocations: 0 / 0.5902 GB, free: 9.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/1.002, allocations: 0 / 0.5902 GB, free: 9.422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009317/1.003, allocations: 0 / 0.5902 GB, free: 9.422 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.06102/1.064, allocations: 19.06 MB / 0.6088 GB, free: 12.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.064, allocations: 12.03 kB / 0.6088 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04891/1.113, allocations: 8.282 MB / 0.6169 GB, free: 4.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0281/1.141, allocations: 10.29 MB / 0.627 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001464/1.142, allocations: 1.066 MB / 0.628 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006906/1.149, allocations: 1.398 MB / 0.6294 GB, free: 8.414 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06729/1.216, allocations: 22.79 MB / 0.6516 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008612/1.217, allocations: 19.84 kB / 0.6516 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007923/1.225, allocations: 0.5763 MB / 0.6522 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001027/1.226, allocations: 0.7793 MB / 0.653 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0529/1.279, allocations: 21.07 MB / 0.6735 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.147/1.426, allocations: 72.88 MB / 0.7447 GB, free: 1.809 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2968/1.723, allocations: 42.11 MB / 0.7858 GB, free: 111.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007349/1.73, allocations: 4.748 MB / 0.7905 GB, free: 111.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02326/1.754, allocations: 13.03 MB / 0.8032 GB, free: 110.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.434e-05/1.754, allocations: 90.61 kB / 0.8033 GB, free: 110.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 6.301e-06/1.754, allocations: 0 / 0.8033 GB, free: 110.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05283/1.807, allocations: 26.61 MB / 0.8293 GB, free: 98.96 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/1.807, allocations: 133.7 kB / 0.8294 GB, free: 98.86 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008208/1.815, allocations: 5.788 MB / 0.8351 GB, free: 96.41 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009695/1.816, allocations: 109.7 kB / 0.8352 GB, free: 96.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00297/1.819, allocations: 6.374 MB / 0.8414 GB, free: 90.66 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00181/1.821, allocations: 1.819 MB / 0.8432 GB, free: 89.02 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002146/1.823, allocations: 1.481 MB / 0.8446 GB, free: 87.67 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/1.823, allocations: 309.1 kB / 0.8449 GB, free: 87.37 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00453/1.827, allocations: 3.634 MB / 0.8485 GB, free: 83.75 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005556/1.833, allocations: 6.477 MB / 0.8548 GB, free: 76.01 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/1.844, allocations: 10.79 MB / 0.8653 GB, free: 64.29 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.619e-05/1.844, allocations: 28 kB / 0.8653 GB, free: 64.26 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02106/1.865, allocations: 12.1 MB / 0.8772 GB, free: 52.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/1.866, allocations: 44.06 kB / 0.8772 GB, free: 52.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/1.866, allocations: 100 kB / 0.8773 GB, free: 52.56 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003822/1.87, allocations: 1.591 MB / 0.8788 GB, free: 50.96 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005991/1.876, allocations: 1.677 MB / 0.8805 GB, free: 49.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/1.895, allocations: 19.64 MB / 0.8997 GB, free: 29.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006553/1.901, allocations: 419.5 kB / 0.9001 GB, free: 28.78 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/1.903, allocations: 372 kB / 0.9004 GB, free: 28.42 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.008639/1.911, allocations: 5.201 MB / 0.9055 GB, free: 23.32 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/1.913, allocations: 0.6353 MB / 0.9061 GB, free: 22.69 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/1.927, allocations: 9.303 MB / 0.9152 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008272/1.936, allocations: 5.858 MB / 0.9209 GB, free: 7.504 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.676e-05/1.936, allocations: 23.98 kB / 0.921 GB, free: 7.48 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.513e-05/1.936, allocations: 27.84 kB / 0.921 GB, free: 7.453 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04197/1.978, allocations: 21 MB / 0.9415 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/1.978, allocations: 6.734 kB / 0.9415 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004159/1.982, allocations: 0.8743 MB / 0.9423 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005115/1.987, allocations: 1.644 MB / 0.944 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000901/1.988, allocations: 128 kB / 0.9441 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02984/2.018, allocations: 23.21 MB / 0.9667 GB, free: 7.781 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/2.018, allocations: 11.66 kB / 0.9668 GB, free: 7.773 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2488/2.267, allocations: 13.72 MB / 0.9802 GB, free: 220.4 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003992/2.271, allocations: 1.394 MB / 0.9815 GB, free: 220.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/2.272, allocations: 107.2 kB / 0.9816 GB, free: 220.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003272/2.275, allocations: 283.7 kB / 0.9819 GB, free: 220.3 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009865/2.276, allocations: 411.7 kB / 0.9823 GB, free: 220.3 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003647/2.277, allocations: 161.5 kB / 0.9824 GB, free: 220.3 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006576/2.283, allocations: 3.907 MB / 0.9862 GB, free: 220.2 MB / 0.6232 GB Notification: Performance of sort global known variables: time 5e-08/2.283, allocations: 0 / 0.9862 GB, free: 220.2 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01095/2.294, allocations: 2.336 MB / 0.9885 GB, free: 220.1 MB / 0.6232 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.001201/2.295, allocations: 311.3 kB / 0.9888 GB, free: 219.9 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01362/2.309, allocations: 9.529 MB / 0.9981 GB, free: 215.9 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/2.309, allocations: 1.906 kB / 0.9981 GB, free: 215.9 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.007646/2.317, allocations: 5.152 MB / 1.003 GB, free: 213.5 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008345/2.325, allocations: 1.65 MB / 1.005 GB, free: 212.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04209/2.367, allocations: 24.73 MB / 1.029 GB, free: 201.8 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01151/2.379, allocations: 8.576 MB / 1.037 GB, free: 198.3 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/2.381, allocations: 0.5403 MB / 1.038 GB, free: 197.8 MB / 0.6232 GB Notification: Performance of SimCode: time 1.784e-06/2.381, allocations: 0 / 1.038 GB, free: 197.8 MB / 0.6232 GB Notification: Performance of Templates: time 1.318/3.699, allocations: 0.6725 GB / 1.71 GB, free: 178 MB / 0.6232 GB " [Timeout remaining time 656] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 26.290276067331433]