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.002258/0.002258, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.001538/0.001538, allocations: 163.5 kB / 23.95 MB, free: 4.172 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.443/1.443, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.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 1.122e-06/1.122e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.071e-05, allocations: 9.375 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04112/0.04114, allocations: 33.44 MB / 358.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02344/0.06458, allocations: 10.03 MB / 368.6 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007098/0.07168, allocations: 358.1 kB / 369 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02579/0.09747, allocations: 10.12 MB / 379.1 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01617/0.1136, allocations: 4.231 MB / 383.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007726/0.1214, allocations: 2.429 MB / 385.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02408/0.1454, allocations: 17.25 MB / 403 MB, free: 7.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04133/0.1868, allocations: 20.36 MB / 423.3 MB, free: 2.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02973/0.2165, allocations: 12.78 MB / 436.1 MB, free: 5.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0178/0.2343, allocations: 8.139 MB / 444.3 MB, free: 13.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00768/0.242, allocations: 2.418 MB / 446.7 MB, free: 11.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/0.2527, allocations: 2.835 MB / 449.5 MB, free: 8.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008268/0.261, allocations: 4.913 MB / 454.4 MB, free: 3.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01474/0.2757, allocations: 6.183 MB / 460.6 MB, free: 13.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.386/0.6617, allocations: 32.63 MB / 493.2 MB, free: 56.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6617, allocations: 6.234 kB / 493.2 MB, free: 56.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.6617, allocations: 0 / 493.2 MB, free: 56.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007945/0.6625, allocations: 0.6562 kB / 493.2 MB, free: 56.89 MB / 430.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.0617/0.7242, allocations: 18.83 MB / 0.5001 GB, free: 48.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.7243, allocations: 10.38 kB / 0.5001 GB, free: 48.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04858/0.7728, allocations: 8.287 MB / 0.5082 GB, free: 45.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02434/0.7972, allocations: 10.34 MB / 0.5183 GB, free: 40.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009297/0.7981, allocations: 1.062 MB / 0.5193 GB, free: 39.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006604/0.8047, allocations: 1.407 MB / 0.5207 GB, free: 39.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05692/0.8616, allocations: 23.09 MB / 0.5432 GB, free: 17.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006573/0.8623, allocations: 19.91 kB / 0.5432 GB, free: 17.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008667/0.871, allocations: 0.5785 MB / 0.5438 GB, free: 16.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008079/0.8718, allocations: 0.7754 MB / 0.5446 GB, free: 16.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0445/0.9163, allocations: 20.99 MB / 0.5651 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1467/1.063, allocations: 63.07 MB / 0.6266 GB, free: 11.99 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02878/1.092, allocations: 13.87 MB / 0.6402 GB, free: 116 kB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009923/1.102, allocations: 4.737 MB / 0.6448 GB, free: 11.37 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0307/1.132, allocations: 11.42 MB / 0.656 GB, free: 116 kB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.866e-05/1.132, allocations: 86.14 kB / 0.6561 GB, free: 20 kB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 9.017e-06/1.132, allocations: 4 kB / 0.6561 GB, free: 16 kB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.23/1.362, allocations: 25.81 MB / 0.6813 GB, free: 180.5 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/1.363, allocations: 132.9 kB / 0.6814 GB, free: 180.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006559/1.369, allocations: 5.517 MB / 0.6868 GB, free: 178.3 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007845/1.37, allocations: 109.3 kB / 0.6869 GB, free: 178.2 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002475/1.372, allocations: 6.364 MB / 0.6931 GB, free: 173.4 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/1.374, allocations: 1.795 MB / 0.6949 GB, free: 171.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/1.376, allocations: 1.465 MB / 0.6963 GB, free: 170.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.689e-05/1.376, allocations: 305.1 kB / 0.6966 GB, free: 170.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00424/1.38, allocations: 3.633 MB / 0.7001 GB, free: 167 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005351/1.385, allocations: 6.539 MB / 0.7065 GB, free: 159.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/1.396, allocations: 10.79 MB / 0.717 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.613e-05/1.396, allocations: 24 kB / 0.7171 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.018/1.414, allocations: 11.98 MB / 0.7288 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.023e-05/1.414, allocations: 44 kB / 0.7288 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/1.414, allocations: 92 kB / 0.7289 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00398/1.418, allocations: 1.6 MB / 0.7305 GB, free: 136.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005964/1.424, allocations: 1.677 MB / 0.7321 GB, free: 135 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/1.443, allocations: 18.7 MB / 0.7504 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006077/1.449, allocations: 423.6 kB / 0.7508 GB, free: 115.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001448/1.45, allocations: 371.9 kB / 0.7511 GB, free: 115.1 MB / 0.5138 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.008712/1.459, allocations: 5.192 MB / 0.7562 GB, free: 109.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001488/1.46, allocations: 0.5977 MB / 0.7568 GB, free: 109.3 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/1.475, allocations: 9.132 MB / 0.7657 GB, free: 100.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008632/1.484, allocations: 5.85 MB / 0.7714 GB, free: 94.23 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-05/1.484, allocations: 20 kB / 0.7714 GB, free: 94.21 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.612e-05/1.484, allocations: 23.91 kB / 0.7715 GB, free: 94.18 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02997/1.514, allocations: 17.98 MB / 0.789 GB, free: 76.16 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.514, allocations: 12.16 kB / 0.789 GB, free: 76.15 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00362/1.517, allocations: 0.8697 MB / 0.7899 GB, free: 75.28 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004299/1.522, allocations: 1.648 MB / 0.7915 GB, free: 73.62 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003901/1.522, allocations: 128 kB / 0.7916 GB, free: 73.49 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/1.543, allocations: 21.98 MB / 0.8131 GB, free: 50.84 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.543, allocations: 15.92 kB / 0.8131 GB, free: 50.83 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/1.561, allocations: 13.52 MB / 0.8263 GB, free: 36.99 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003117/1.564, allocations: 1.301 MB / 0.8276 GB, free: 35.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009068/1.565, allocations: 111.9 kB / 0.8277 GB, free: 35.57 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/1.568, allocations: 279.7 kB / 0.8279 GB, free: 35.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008901/1.568, allocations: 432.2 kB / 0.8283 GB, free: 34.88 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003379/1.569, allocations: 160 kB / 0.8285 GB, free: 34.72 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004316/1.573, allocations: 3.597 MB / 0.832 GB, free: 31.15 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.573, allocations: 0 / 0.832 GB, free: 31.15 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007288/1.58, allocations: 2.337 MB / 0.8343 GB, free: 28.81 MB / 0.5138 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.0006859/1.581, allocations: 312.5 kB / 0.8346 GB, free: 28.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01233/1.593, allocations: 9.446 MB / 0.8438 GB, free: 18.97 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.593, allocations: 0 / 0.8438 GB, free: 18.97 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006811/1.6, allocations: 5.151 MB / 0.8488 GB, free: 13.73 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006563/1.607, allocations: 1.438 MB / 0.8502 GB, free: 12.33 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2028/1.81, allocations: 24.8 MB / 0.8745 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009973/1.82, allocations: 8.492 MB / 0.8828 GB, free: 162.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006026/1.826, allocations: 2.488 MB / 0.8852 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.827, allocations: 464.5 kB / 0.8856 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of SimCode: time 7.11e-07/1.827, allocations: 0 / 0.8856 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.1382/1.965, allocations: 88.65 MB / 0.9722 GB, free: 87.04 MB / 0.5138 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.344021789729595]