Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001633/0.001633, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001871/0.001871, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.84 kB / 379 MB, free: 2.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2761, allocations: 53.41 MB / 432.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04615/0.3223, allocations: 33.4 MB / 465.8 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02371/0.346, allocations: 10.04 MB / 475.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007297/0.3533, allocations: 358.1 kB / 476.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0257/0.379, allocations: 9.578 MB / 485.8 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0214/0.4004, allocations: 4.125 MB / 489.9 MB, free: 12.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01166/0.412, allocations: 2.421 MB / 492.4 MB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02727/0.4393, allocations: 16.66 MB / 0.4971 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03812/0.4774, allocations: 20.3 MB / 0.5169 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01458/0.492, allocations: 8.712 MB / 0.5254 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01635/0.5084, allocations: 9.199 MB / 0.5344 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006294/0.5147, allocations: 2.414 MB / 0.5368 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4359/0.9506, allocations: 2.811 MB / 0.5395 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006901/0.9575, allocations: 4.813 MB / 0.5442 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01645/0.9739, allocations: 7.173 MB / 0.5512 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03834/1.012, allocations: 32.37 MB / 0.5828 GB, free: 23.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.012, allocations: 0 / 0.5828 GB, free: 23.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/1.012, allocations: 0 / 0.5828 GB, free: 23.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001083/1.013, allocations: 0.8125 kB / 0.5828 GB, free: 23.12 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.06391/1.077, allocations: 18.97 MB / 0.6014 GB, free: 11.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.077, allocations: 17.33 kB / 0.6014 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04594/1.123, allocations: 8.277 MB / 0.6095 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02732/1.151, allocations: 10.35 MB / 0.6196 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001489/1.152, allocations: 1.062 MB / 0.6206 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006941/1.159, allocations: 1.402 MB / 0.622 GB, free: 8.898 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07043/1.229, allocations: 23.09 MB / 0.6445 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008357/1.23, allocations: 23.89 kB / 0.6445 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005863/1.236, allocations: 0.5738 MB / 0.6451 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/1.237, allocations: 0.7754 MB / 0.6459 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0515/1.289, allocations: 20.98 MB / 0.6663 GB, free: 11.33 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1443/1.433, allocations: 63.03 MB / 0.7279 GB, free: 12.17 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02743/1.46, allocations: 13.87 MB / 0.7414 GB, free: 336 kB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009469/1.47, allocations: 4.728 MB / 0.7461 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02622/1.496, allocations: 11.42 MB / 0.7572 GB, free: 324 kB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.325e-05/1.496, allocations: 97.98 kB / 0.7573 GB, free: 220 kB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.656e-06/1.496, allocations: 3.938 kB / 0.7573 GB, free: 216 kB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.3565/1.853, allocations: 25.82 MB / 0.7825 GB, free: 191.9 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/1.853, allocations: 128.5 kB / 0.7827 GB, free: 191.8 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008913/1.862, allocations: 5.514 MB / 0.788 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/1.863, allocations: 109.2 kB / 0.7881 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003463/1.866, allocations: 6.387 MB / 0.7944 GB, free: 184.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002315/1.869, allocations: 1.817 MB / 0.7962 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002406/1.871, allocations: 1.481 MB / 0.7976 GB, free: 182.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/1.871, allocations: 301.1 kB / 0.7979 GB, free: 182.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005064/1.876, allocations: 3.638 MB / 0.8014 GB, free: 181 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006512/1.883, allocations: 6.532 MB / 0.8078 GB, free: 175 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.894, allocations: 10.79 MB / 0.8184 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.252e-05/1.894, allocations: 31.75 kB / 0.8184 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01904/1.913, allocations: 11.99 MB / 0.8301 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.987e-05/1.913, allocations: 44 kB / 0.8301 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/1.914, allocations: 92 kB / 0.8302 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/1.918, allocations: 1.589 MB / 0.8318 GB, free: 152 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006259/1.924, allocations: 1.68 MB / 0.8334 GB, free: 150.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/1.944, allocations: 18.73 MB / 0.8517 GB, free: 132 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007271/1.952, allocations: 419.6 kB / 0.8521 GB, free: 131.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001595/1.953, allocations: 371.9 kB / 0.8525 GB, free: 131.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.01049/1.964, allocations: 5.199 MB / 0.8575 GB, free: 126 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/1.965, allocations: 0.5938 MB / 0.8581 GB, free: 125.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/1.98, allocations: 9.13 MB / 0.867 GB, free: 116.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008568/1.988, allocations: 5.852 MB / 0.8727 GB, free: 110.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.491e-05/1.989, allocations: 20 kB / 0.8728 GB, free: 110.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-05/1.989, allocations: 27.89 kB / 0.8728 GB, free: 110.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0377/2.026, allocations: 17.98 MB / 0.8903 GB, free: 92.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/2.026, allocations: 11.92 kB / 0.8904 GB, free: 92.25 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003747/2.03, allocations: 0.8737 MB / 0.8912 GB, free: 91.38 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00452/2.035, allocations: 1.632 MB / 0.8928 GB, free: 89.73 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/2.036, allocations: 132 kB / 0.8929 GB, free: 89.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0209/2.057, allocations: 21.98 MB / 0.9144 GB, free: 66.93 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/2.057, allocations: 11.94 kB / 0.9144 GB, free: 66.92 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02049/2.077, allocations: 13.54 MB / 0.9276 GB, free: 53.06 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00436/2.081, allocations: 1.304 MB / 0.9289 GB, free: 51.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001581/2.083, allocations: 107.9 kB / 0.929 GB, free: 51.65 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003823/2.087, allocations: 283.7 kB / 0.9293 GB, free: 51.37 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/2.088, allocations: 436.2 kB / 0.9297 GB, free: 50.94 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003541/2.088, allocations: 163.9 kB / 0.9298 GB, free: 50.78 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00649/2.095, allocations: 3.582 MB / 0.9333 GB, free: 47.22 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.11e-07/2.095, allocations: 4 kB / 0.9334 GB, free: 47.21 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01149/2.106, allocations: 2.34 MB / 0.9356 GB, free: 44.88 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.001458/2.108, allocations: 310.7 kB / 0.9359 GB, free: 44.57 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01564/2.123, allocations: 9.452 MB / 0.9452 GB, free: 35.04 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/2.123, allocations: 3.75 kB / 0.9452 GB, free: 35.04 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.009094/2.132, allocations: 5.144 MB / 0.9502 GB, free: 29.81 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007724/2.14, allocations: 1.444 MB / 0.9516 GB, free: 28.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0451/2.185, allocations: 24.65 MB / 0.9757 GB, free: 3.613 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2732/2.458, allocations: 8.208 MB / 0.9837 GB, free: 174 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002522/2.461, allocations: 0.5289 MB / 0.9842 GB, free: 174 MB / 0.5763 GB Notification: Performance of SimCode: time 1.212e-06/2.461, allocations: 0 / 0.9842 GB, free: 174 MB / 0.5763 GB Notification: Performance of Templates: time 1.676/4.137, allocations: 0.6738 GB / 1.658 GB, free: 198.8 MB / 0.6075 GB " [Timeout remaining time 656] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.621977394912392]