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.001454/0.001454, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001586/0.001586, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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.468/1.468, allocations: 173.4 MB / 200.8 MB, free: 9.324 MB / 186.7 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 1.513e-06/1.513e-06, allocations: 0 / 267.4 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.981e-05, allocations: 2.312 kB / 267.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1817/0.1817, allocations: 32.89 MB / 300.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01862/0.2003, allocations: 9.811 MB / 310.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007074/0.2074, allocations: 357.1 kB / 310.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02303/0.2304, allocations: 10.07 MB / 320.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01676/0.2472, allocations: 4.226 MB / 324.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009288/0.2565, allocations: 2.374 MB / 327.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02921/0.2857, allocations: 17.07 MB / 344.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04307/0.3287, allocations: 20.35 MB / 364.5 MB, free: 8.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02995/0.3587, allocations: 12.76 MB / 377.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01879/0.3775, allocations: 8.135 MB / 385.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006974/0.3845, allocations: 2.414 MB / 387.8 MB, free: 1.219 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009808/0.3943, allocations: 2.808 MB / 390.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008017/0.4023, allocations: 4.909 MB / 395.5 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01514/0.4174, allocations: 6.183 MB / 401.7 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04937/0.4668, allocations: 32.59 MB / 434.3 MB, free: 2.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4668, allocations: 0 / 434.3 MB, free: 2.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.4668, allocations: 0 / 434.3 MB, free: 2.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008992/0.4677, allocations: 0 / 434.3 MB, free: 2.613 MB / 378.7 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.3021/0.7698, allocations: 18.78 MB / 453.1 MB, free: 108.6 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.7699, allocations: 8.172 kB / 453.1 MB, free: 108.6 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04992/0.8198, allocations: 10.62 MB / 463.7 MB, free: 98.07 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/0.8407, allocations: 10.76 MB / 474.5 MB, free: 87.3 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/0.8417, allocations: 1.058 MB / 475.6 MB, free: 86.26 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00581/0.8475, allocations: 1.402 MB / 477 MB, free: 84.87 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05764/0.9052, allocations: 23.05 MB / 500 MB, free: 61.69 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009533/0.9061, allocations: 23.89 kB / 0.4883 GB, free: 61.66 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007726/0.9138, allocations: 0.5776 MB / 0.4889 GB, free: 61.1 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008417/0.9147, allocations: 0.7793 MB / 0.4896 GB, free: 60.32 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04411/0.9588, allocations: 20.94 MB / 0.5101 GB, free: 39.36 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1266/1.085, allocations: 64.65 MB / 0.5732 GB, free: 5.766 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1762/1.262, allocations: 13.82 MB / 0.5867 GB, free: 121.8 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008337/1.27, allocations: 4.711 MB / 0.5913 GB, free: 120.6 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02224/1.292, allocations: 11.38 MB / 0.6024 GB, free: 115.7 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/1.292, allocations: 97.97 kB / 0.6025 GB, free: 115.6 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 8.546e-06/1.292, allocations: 3.375 kB / 0.6025 GB, free: 115.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.0556/1.348, allocations: 25.93 MB / 0.6278 GB, free: 102.3 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/1.348, allocations: 131.4 kB / 0.628 GB, free: 102.1 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007343/1.355, allocations: 5.491 MB / 0.6333 GB, free: 97.07 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.356, allocations: 109.7 kB / 0.6334 GB, free: 96.95 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002587/1.359, allocations: 6.35 MB / 0.6396 GB, free: 90.59 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.361, allocations: 1.792 MB / 0.6414 GB, free: 88.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/1.362, allocations: 1.454 MB / 0.6428 GB, free: 87.36 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/1.363, allocations: 301.1 kB / 0.6431 GB, free: 87.06 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0045/1.367, allocations: 3.634 MB / 0.6466 GB, free: 83.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005679/1.373, allocations: 6.524 MB / 0.653 GB, free: 75.59 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/1.384, allocations: 10.76 MB / 0.6635 GB, free: 63.51 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.322e-05/1.384, allocations: 28 kB / 0.6635 GB, free: 63.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01901/1.403, allocations: 12.32 MB / 0.6756 GB, free: 51.11 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.152e-05/1.403, allocations: 44.56 kB / 0.6756 GB, free: 51.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/1.403, allocations: 92 kB / 0.6757 GB, free: 50.98 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005203/1.408, allocations: 1.871 MB / 0.6775 GB, free: 49.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006117/1.415, allocations: 1.665 MB / 0.6792 GB, free: 47.43 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/1.434, allocations: 18.83 MB / 0.6975 GB, free: 28.1 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007255/1.442, allocations: 431.5 kB / 0.698 GB, free: 27.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.443, allocations: 368 kB / 0.6983 GB, free: 27.32 MB / 410.8 MB 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.008666/1.452, allocations: 5.184 MB / 0.7034 GB, free: 22.12 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00181/1.454, allocations: 0.7462 MB / 0.7041 GB, free: 21.37 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/1.468, allocations: 9.119 MB / 0.713 GB, free: 12.19 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008274/1.476, allocations: 5.825 MB / 0.7187 GB, free: 6.328 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-05/1.476, allocations: 23.94 kB / 0.7187 GB, free: 6.305 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.428e-05/1.477, allocations: 27.91 kB / 0.7187 GB, free: 6.277 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03846/1.515, allocations: 17.92 MB / 0.7362 GB, free: 4.312 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/1.515, allocations: 8 kB / 0.7362 GB, free: 4.305 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004351/1.519, allocations: 0.8625 MB / 0.7371 GB, free: 3.441 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1683/1.688, allocations: 1.929 MB / 0.739 GB, free: 124.4 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001196/1.689, allocations: 126.2 kB / 0.7391 GB, free: 124.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0247/1.714, allocations: 22.11 MB / 0.7607 GB, free: 111.7 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.714, allocations: 11.5 kB / 0.7607 GB, free: 111.7 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/1.733, allocations: 13.67 MB / 0.774 GB, free: 105.8 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003675/1.737, allocations: 1.298 MB / 0.7753 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001523/1.738, allocations: 107.6 kB / 0.7754 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/1.741, allocations: 284.4 kB / 0.7757 GB, free: 105.3 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/1.743, allocations: 428.6 kB / 0.7761 GB, free: 105.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003659/1.743, allocations: 155 kB / 0.7762 GB, free: 105.2 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.005531/1.748, allocations: 3.574 MB / 0.7797 GB, free: 103.9 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/1.748, allocations: 0 / 0.7797 GB, free: 103.9 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01193/1.76, allocations: 2.333 MB / 0.782 GB, free: 103.7 MB / 426.8 MB 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.001822/1.762, allocations: 330.7 kB / 0.7823 GB, free: 103.5 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01436/1.777, allocations: 9.446 MB / 0.7915 GB, free: 98.93 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.777, allocations: 4 kB / 0.7915 GB, free: 98.93 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007933/1.785, allocations: 5.136 MB / 0.7966 GB, free: 94.42 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007397/1.792, allocations: 1.471 MB / 0.798 GB, free: 93.23 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04377/1.836, allocations: 25.23 MB / 0.8226 GB, free: 70.12 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01086/1.847, allocations: 8.482 MB / 0.8309 GB, free: 61.99 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.006734/1.853, allocations: 2.477 MB / 0.8333 GB, free: 59.51 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.855, allocations: 440.4 kB / 0.8338 GB, free: 59.08 MB / 426.8 MB Notification: Performance of SimCode: time 1.653e-06/1.855, allocations: 0 / 0.8338 GB, free: 59.08 MB / 426.8 MB Notification: Performance of Templates: time 0.321/2.176, allocations: 88.08 MB / 0.9198 GB, free: 122.2 MB / 442.8 MB " [Timeout remaining time 658] 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/jenkins/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/jenkins/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: 9.561990423011594]