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.001286/0.001286, allocations: 108.6 kB / 21.18 MB, free: 0.7773 MB / 14.72 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.001416/0.001416, allocations: 189.5 kB / 24.47 MB, free: 4.191 MB / 14.72 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.443/1.443, allocations: 225.6 MB / 253.3 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001993/0.001993, allocations: 51.92 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3114, allocations: 52.19 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04791/0.3593, allocations: 38.52 MB / 462.5 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02479/0.3841, allocations: 10.05 MB / 472.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008614/0.3927, allocations: 354.1 kB / 472.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02663/0.4193, allocations: 10.34 MB / 483.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01581/0.4352, allocations: 4.215 MB / 487.4 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009436/0.4446, allocations: 2.447 MB / 489.9 MB, free: 12.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02672/0.4713, allocations: 16.51 MB / 0.4945 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04544/0.5168, allocations: 20.58 MB / 0.5146 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01814/0.5349, allocations: 8.704 MB / 0.5231 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01821/0.5531, allocations: 9.453 MB / 0.5323 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007253/0.5604, allocations: 2.414 MB / 0.5347 GB, free: 2.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4815/1.042, allocations: 2.823 MB / 0.5374 GB, free: 37.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0081/1.05, allocations: 4.821 MB / 0.5421 GB, free: 37.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02002/1.07, allocations: 9.205 MB / 0.5511 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04084/1.111, allocations: 32.18 MB / 0.5826 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.111, allocations: 3.469 kB / 0.5826 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/1.111, allocations: 5.562 kB / 0.5826 GB, free: 23.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001161/1.112, allocations: 0 / 0.5826 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.06037/1.172, allocations: 18.94 MB / 0.6011 GB, free: 11.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.172, allocations: 11.62 kB / 0.6011 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04641/1.219, allocations: 8.366 MB / 0.6093 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02399/1.243, allocations: 10.34 MB / 0.6193 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00125/1.244, allocations: 1.059 MB / 0.6204 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006119/1.25, allocations: 1.396 MB / 0.6217 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06773/1.318, allocations: 22.74 MB / 0.6439 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006595/1.319, allocations: 27.45 kB / 0.644 GB, free: 3.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00642/1.325, allocations: 0.5801 MB / 0.6445 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001072/1.326, allocations: 0.7765 MB / 0.6453 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05247/1.379, allocations: 21.01 MB / 0.6658 GB, free: 12.76 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1479/1.526, allocations: 70.99 MB / 0.7351 GB, free: 5.613 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2881/1.815, allocations: 13.87 MB / 0.7487 GB, free: 185.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007612/1.822, allocations: 4.696 MB / 0.7533 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02435/1.846, allocations: 12.55 MB / 0.7655 GB, free: 181 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/1.847, allocations: 86.52 kB / 0.7656 GB, free: 181 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 6.853e-06/1.847, allocations: 2.969 kB / 0.7656 GB, free: 181 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.05366/1.9, allocations: 25.79 MB / 0.7908 GB, free: 170.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/1.9, allocations: 128.8 kB / 0.7909 GB, free: 170.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.91, allocations: 5.766 MB / 0.7966 GB, free: 166.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001565/1.912, allocations: 105.7 kB / 0.7967 GB, free: 166.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004282/1.916, allocations: 6.356 MB / 0.8029 GB, free: 160.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002246/1.918, allocations: 1.821 MB / 0.8046 GB, free: 159.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002592/1.921, allocations: 1.465 MB / 0.8061 GB, free: 157.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.93e-05/1.921, allocations: 305.1 kB / 0.8064 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005301/1.926, allocations: 3.629 MB / 0.8099 GB, free: 154.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007251/1.934, allocations: 6.474 MB / 0.8162 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.946, allocations: 10.76 MB / 0.8267 GB, free: 134.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.947, allocations: 24 kB / 0.8268 GB, free: 134.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02157/1.968, allocations: 12 MB / 0.8385 GB, free: 122.5 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-05/1.968, allocations: 44 kB / 0.8385 GB, free: 122.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/1.968, allocations: 92 kB / 0.8386 GB, free: 122.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004094/1.972, allocations: 1.591 MB / 0.8402 GB, free: 120.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006504/1.979, allocations: 1.665 MB / 0.8418 GB, free: 119.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/1.999, allocations: 19.14 MB / 0.8605 GB, free: 99.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007174/2.006, allocations: 427.7 kB / 0.8609 GB, free: 98.99 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/2.007, allocations: 371.9 kB / 0.8612 GB, free: 98.62 MB / 0.5607 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.01012/2.017, allocations: 5.184 MB / 0.8663 GB, free: 93.43 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00166/2.019, allocations: 0.6249 MB / 0.8669 GB, free: 92.8 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/2.034, allocations: 9.149 MB / 0.8758 GB, free: 83.59 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008536/2.042, allocations: 5.833 MB / 0.8815 GB, free: 77.72 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.494e-05/2.042, allocations: 16 kB / 0.8816 GB, free: 77.71 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.151e-05/2.042, allocations: 23.91 kB / 0.8816 GB, free: 77.68 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04061/2.083, allocations: 20.84 MB / 0.9019 GB, free: 56.78 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/2.083, allocations: 12 kB / 0.9019 GB, free: 56.77 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003867/2.087, allocations: 0.8699 MB / 0.9028 GB, free: 55.89 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004383/2.091, allocations: 1.646 MB / 0.9044 GB, free: 54.23 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009543/2.092, allocations: 124 kB / 0.9045 GB, free: 54.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02088/2.113, allocations: 22.48 MB / 0.9265 GB, free: 30.84 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/2.113, allocations: 11.94 kB / 0.9265 GB, free: 30.83 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02009/2.133, allocations: 13.53 MB / 0.9397 GB, free: 16.98 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004301/2.138, allocations: 1.34 MB / 0.941 GB, free: 15.63 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001684/2.139, allocations: 104 kB / 0.9411 GB, free: 15.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003793/2.143, allocations: 291.7 kB / 0.9414 GB, free: 15.25 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009754/2.144, allocations: 432.2 kB / 0.9418 GB, free: 14.82 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003523/2.144, allocations: 152 kB / 0.9419 GB, free: 14.67 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007216/2.152, allocations: 3.883 MB / 0.9457 GB, free: 10.82 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.91e-07/2.152, allocations: 0 / 0.9457 GB, free: 10.82 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01139/2.163, allocations: 2.34 MB / 0.948 GB, free: 8.477 MB / 0.5607 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,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.001479/2.164, allocations: 331.8 kB / 0.9483 GB, free: 8.16 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.29/2.454, allocations: 9.434 MB / 0.9575 GB, free: 176.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/2.454, allocations: 2.188 kB / 0.9575 GB, free: 176.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01045/2.465, allocations: 5.127 MB / 0.9626 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009718/2.475, allocations: 1.638 MB / 0.9642 GB, free: 175.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05176/2.526, allocations: 24.77 MB / 0.9883 GB, free: 167.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/2.537, allocations: 8.571 MB / 0.9967 GB, free: 164.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00263/2.54, allocations: 0.5072 MB / 0.9972 GB, free: 164.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.703e-06/2.54, allocations: 0 / 0.9972 GB, free: 164.7 MB / 0.5607 GB Notification: Performance of Templates: time 1.661/4.201, allocations: 0.6693 GB / 1.667 GB, free: 161.6 MB / 0.5919 GB " [Timeout remaining time 656] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/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/jenkins1/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.434380632825196]