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.001851/0.001851, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002328/0.002328, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 8.004 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+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 0.001652/0.001652, allocations: 51.86 kB / 378.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2715, allocations: 53.36 MB / 431.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04886/0.3204, allocations: 39.17 MB / 470.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02361/0.344, allocations: 10.35 MB / 481.2 MB, free: 5.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007317/0.3513, allocations: 358.1 kB / 481.5 MB, free: 4.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02503/0.3764, allocations: 10.36 MB / 491.9 MB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.3902, allocations: 4.211 MB / 496.1 MB, free: 6.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007828/0.3981, allocations: 2.493 MB / 498.6 MB, free: 3.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0235/0.4216, allocations: 16.65 MB / 0.5032 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0373/0.4589, allocations: 20.59 MB / 0.5233 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01635/0.4752, allocations: 8.72 MB / 0.5318 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4356/0.9108, allocations: 9.611 MB / 0.5412 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008443/0.9192, allocations: 2.42 MB / 0.5436 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009842/0.9291, allocations: 2.841 MB / 0.5463 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007522/0.9366, allocations: 4.831 MB / 0.5511 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01288/0.9495, allocations: 9.211 MB / 0.56 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02681/0.9763, allocations: 32.24 MB / 0.5915 GB, free: 9.078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9763, allocations: 0 / 0.5915 GB, free: 9.078 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.9763, allocations: 3.938 kB / 0.5915 GB, free: 9.074 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008859/0.9772, allocations: 0 / 0.5915 GB, free: 9.074 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.05104/1.028, allocations: 18.99 MB / 0.6101 GB, free: 11.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.028, allocations: 8.031 kB / 0.6101 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04611/1.074, allocations: 8.284 MB / 0.6182 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02571/1.1, allocations: 10.37 MB / 0.6283 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00135/1.101, allocations: 1.067 MB / 0.6294 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005286/1.107, allocations: 1.396 MB / 0.6307 GB, free: 7.062 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05317/1.16, allocations: 22.8 MB / 0.653 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004149/1.16, allocations: 23.03 kB / 0.653 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00288/1.163, allocations: 0.5767 MB / 0.6536 GB, free: 15.64 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007947/1.164, allocations: 0.778 MB / 0.6543 GB, free: 14.87 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04336/1.207, allocations: 21.06 MB / 0.6749 GB, free: 9.805 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1387/1.346, allocations: 71.08 MB / 0.7443 GB, free: 2.562 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2431/1.589, allocations: 13.97 MB / 0.7579 GB, free: 193.2 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007354/1.596, allocations: 4.74 MB / 0.7626 GB, free: 191.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02306/1.619, allocations: 12.66 MB / 0.7749 GB, free: 186 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/1.62, allocations: 88.02 kB / 0.775 GB, free: 185.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.835e-06/1.62, allocations: 7.734 kB / 0.775 GB, free: 185.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05086/1.67, allocations: 25.86 MB / 0.8003 GB, free: 175.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/1.67, allocations: 137.3 kB / 0.8004 GB, free: 175.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007045/1.678, allocations: 5.796 MB / 0.8061 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008142/1.678, allocations: 105.7 kB / 0.8062 GB, free: 172.1 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002603/1.681, allocations: 6.372 MB / 0.8124 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.682, allocations: 1.816 MB / 0.8142 GB, free: 164.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/1.684, allocations: 1.481 MB / 0.8156 GB, free: 163.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.675e-05/1.684, allocations: 305.1 kB / 0.8159 GB, free: 163.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004352/1.688, allocations: 3.636 MB / 0.8195 GB, free: 159.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005136/1.693, allocations: 6.486 MB / 0.8258 GB, free: 151.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.704, allocations: 10.79 MB / 0.8363 GB, free: 139.8 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.681e-05/1.704, allocations: 28 kB / 0.8364 GB, free: 139.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01675/1.72, allocations: 12.01 MB / 0.8481 GB, free: 127.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 9.073e-05/1.721, allocations: 47.98 kB / 0.8481 GB, free: 127.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/1.721, allocations: 92 kB / 0.8482 GB, free: 127.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004169/1.725, allocations: 1.591 MB / 0.8498 GB, free: 126 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005453/1.73, allocations: 1.673 MB / 0.8514 GB, free: 124.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/1.75, allocations: 19.13 MB / 0.8701 GB, free: 104.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005413/1.755, allocations: 423.6 kB / 0.8705 GB, free: 104.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009952/1.756, allocations: 376 kB / 0.8709 GB, free: 103.8 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.007693/1.764, allocations: 5.195 MB / 0.8759 GB, free: 98.61 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/1.765, allocations: 0.6249 MB / 0.8765 GB, free: 97.98 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.779, allocations: 9.153 MB / 0.8855 GB, free: 88.77 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007881/1.787, allocations: 5.856 MB / 0.8912 GB, free: 82.88 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-05/1.787, allocations: 20 kB / 0.8912 GB, free: 82.86 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.483e-05/1.787, allocations: 27.91 kB / 0.8912 GB, free: 82.83 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03486/1.822, allocations: 20.93 MB / 0.9117 GB, free: 61.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/1.822, allocations: 4 kB / 0.9117 GB, free: 61.84 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003465/1.826, allocations: 0.8775 MB / 0.9125 GB, free: 60.96 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004082/1.83, allocations: 1.637 MB / 0.9141 GB, free: 59.3 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004015/1.83, allocations: 127.9 kB / 0.9143 GB, free: 59.18 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0212/1.851, allocations: 22.49 MB / 0.9362 GB, free: 35.92 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.851, allocations: 4 kB / 0.9362 GB, free: 35.91 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/1.871, allocations: 13.58 MB / 0.9495 GB, free: 22 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004166/1.875, allocations: 1.352 MB / 0.9508 GB, free: 20.65 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001888/1.877, allocations: 108 kB / 0.9509 GB, free: 20.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004076/1.881, allocations: 279.6 kB / 0.9512 GB, free: 20.27 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/1.882, allocations: 440.2 kB / 0.9516 GB, free: 19.84 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004577/1.883, allocations: 156 kB / 0.9517 GB, free: 19.68 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007293/1.89, allocations: 3.904 MB / 0.9556 GB, free: 15.81 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.91e-07/1.89, allocations: 4 kB / 0.9556 GB, free: 15.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009038/1.899, allocations: 2.336 MB / 0.9578 GB, free: 13.47 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.0008977/1.9, allocations: 326.7 kB / 0.9582 GB, free: 13.15 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01401/1.914, allocations: 9.464 MB / 0.9674 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.914, allocations: 0 / 0.9674 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.237/2.151, allocations: 5.142 MB / 0.9724 GB, free: 180.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009022/2.16, allocations: 1.637 MB / 0.974 GB, free: 180.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0488/2.209, allocations: 25.13 MB / 0.9986 GB, free: 173 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01027/2.219, allocations: 8.856 MB / 1.007 GB, free: 169.9 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007288/2.227, allocations: 2.531 MB / 1.01 GB, free: 169.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/2.228, allocations: 483.5 kB / 1.01 GB, free: 169.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.593e-06/2.228, allocations: 0 / 1.01 GB, free: 169.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.1588/2.387, allocations: 104.8 MB / 1.113 GB, free: 77.52 MB / 0.5763 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: 10.180721387034282]