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.001302/0.001302, allocations: 73.25 kB / 21.24 MB, free: 0.5547 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.001405/0.001405, allocations: 161 kB / 24.5 MB, free: 3.715 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.412/1.412, allocations: 177.2 MB / 204.9 MB, free: 8.996 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 0.001609/0.001609, allocations: 54.14 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09159, allocations: 53.35 MB / 379 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03947/0.1311, allocations: 33.4 MB / 412.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02192/0.153, allocations: 10.04 MB / 422.4 MB, free: 4.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006222/0.1592, allocations: 358.1 kB / 422.7 MB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02487/0.1841, allocations: 10.07 MB / 432.8 MB, free: 9.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.1973, allocations: 4.14 MB / 436.9 MB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007038/0.2043, allocations: 2.419 MB / 439.4 MB, free: 2.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0225/0.2268, allocations: 16.64 MB / 456 MB, free: 2.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.399/0.6258, allocations: 20.3 MB / 476.3 MB, free: 15.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.6387, allocations: 8.725 MB / 485 MB, free: 14.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01508/0.6538, allocations: 9.197 MB / 494.2 MB, free: 13.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005753/0.6595, allocations: 2.415 MB / 496.6 MB, free: 13.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00806/0.6676, allocations: 2.813 MB / 499.5 MB, free: 13.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005099/0.6727, allocations: 4.831 MB / 0.4925 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01133/0.684, allocations: 7.161 MB / 0.4995 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02997/0.714, allocations: 32.38 MB / 0.5311 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.714, allocations: 0 / 0.5311 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.714, allocations: 2.375 kB / 0.5311 GB, free: 7.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007944/0.7148, allocations: 0 / 0.5311 GB, free: 7.207 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.05674/0.7715, allocations: 18.98 MB / 0.5496 GB, free: 4.613 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7716, allocations: 8.031 kB / 0.5496 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04903/0.8206, allocations: 8.288 MB / 0.5577 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02434/0.8449, allocations: 10.35 MB / 0.5678 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001277/0.8462, allocations: 1.061 MB / 0.5689 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005368/0.8516, allocations: 1.396 MB / 0.5702 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0586/0.9102, allocations: 23.1 MB / 0.5928 GB, free: 8.746 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007146/0.9109, allocations: 23.89 kB / 0.5928 GB, free: 8.723 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00457/0.9155, allocations: 0.5766 MB / 0.5934 GB, free: 8.16 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001056/0.9165, allocations: 0.7715 MB / 0.5941 GB, free: 7.387 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05075/0.9673, allocations: 20.99 MB / 0.6146 GB, free: 2.395 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1274/1.095, allocations: 63.08 MB / 0.6762 GB, free: 3.23 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2207/1.315, allocations: 13.86 MB / 0.6897 GB, free: 196 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007585/1.323, allocations: 4.731 MB / 0.6944 GB, free: 194.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01971/1.343, allocations: 11.43 MB / 0.7055 GB, free: 189.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/1.343, allocations: 86.23 kB / 0.7056 GB, free: 189.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.396e-06/1.343, allocations: 2.406 kB / 0.7056 GB, free: 189.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.04823/1.391, allocations: 25.83 MB / 0.7308 GB, free: 178.6 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/1.391, allocations: 133.3 kB / 0.731 GB, free: 178.5 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006105/1.397, allocations: 5.514 MB / 0.7363 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0005519/1.398, allocations: 109.7 kB / 0.7365 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002253/1.4, allocations: 6.383 MB / 0.7427 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.401, allocations: 1.814 MB / 0.7445 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001773/1.403, allocations: 1.477 MB / 0.7459 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.503e-05/1.403, allocations: 309 kB / 0.7462 GB, free: 164.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004166/1.407, allocations: 3.636 MB / 0.7497 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005117/1.412, allocations: 6.533 MB / 0.7561 GB, free: 154.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.422, allocations: 10.79 MB / 0.7667 GB, free: 142.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.265e-05/1.423, allocations: 32 kB / 0.7667 GB, free: 142.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01659/1.439, allocations: 11.98 MB / 0.7784 GB, free: 130.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/1.439, allocations: 50.75 kB / 0.7784 GB, free: 130.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/1.439, allocations: 96 kB / 0.7785 GB, free: 130.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00391/1.443, allocations: 1.576 MB / 0.7801 GB, free: 128.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005889/1.449, allocations: 1.681 MB / 0.7817 GB, free: 127.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/1.468, allocations: 18.72 MB / 0.8 GB, free: 108 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005518/1.473, allocations: 427.6 kB / 0.8004 GB, free: 107.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/1.474, allocations: 371.9 kB / 0.8008 GB, free: 107.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.007754/1.482, allocations: 5.191 MB / 0.8058 GB, free: 102 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.483, allocations: 0.59 MB / 0.8064 GB, free: 101.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.497, allocations: 9.129 MB / 0.8153 GB, free: 92.23 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007993/1.505, allocations: 5.86 MB / 0.821 GB, free: 86.34 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.061e-05/1.505, allocations: 24 kB / 0.8211 GB, free: 86.31 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.145e-05/1.505, allocations: 23.91 kB / 0.8211 GB, free: 86.29 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02884/1.534, allocations: 17.98 MB / 0.8386 GB, free: 68.26 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/1.534, allocations: 4 kB / 0.8386 GB, free: 68.26 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003569/1.538, allocations: 0.8743 MB / 0.8395 GB, free: 67.38 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004268/1.542, allocations: 1.632 MB / 0.8411 GB, free: 65.73 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005495/1.542, allocations: 131.9 kB / 0.8412 GB, free: 65.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02054/1.563, allocations: 21.99 MB / 0.8627 GB, free: 42.93 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.563, allocations: 16 kB / 0.8627 GB, free: 42.91 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/1.582, allocations: 13.54 MB / 0.8759 GB, free: 29.05 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003311/1.585, allocations: 1.312 MB / 0.8772 GB, free: 27.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/1.586, allocations: 104.1 kB / 0.8773 GB, free: 27.63 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/1.59, allocations: 283.7 kB / 0.8776 GB, free: 27.35 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008808/1.591, allocations: 444.1 kB / 0.878 GB, free: 26.91 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003494/1.591, allocations: 160 kB / 0.8782 GB, free: 26.75 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004938/1.596, allocations: 3.59 MB / 0.8817 GB, free: 23.18 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.61e-07/1.596, allocations: 0 / 0.8817 GB, free: 23.18 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008429/1.604, allocations: 2.324 MB / 0.8839 GB, free: 20.86 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.0009027/1.605, allocations: 315 kB / 0.8842 GB, free: 20.55 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01292/1.618, allocations: 9.459 MB / 0.8935 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.618, allocations: 0 / 0.8935 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007342/1.626, allocations: 5.139 MB / 0.8985 GB, free: 5.789 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00635/1.632, allocations: 1.445 MB / 0.8999 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2362/1.868, allocations: 25.04 MB / 0.9243 GB, free: 175.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/1.878, allocations: 8.501 MB / 0.9326 GB, free: 174.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00576/1.884, allocations: 2.492 MB / 0.9351 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.885, allocations: 464.9 kB / 0.9355 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of SimCode: time 8.31e-07/1.885, allocations: 0 / 0.9355 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.1319/2.017, allocations: 89.27 MB / 1.023 GB, free: 101.2 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 -s ida -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/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_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.294156174059026]