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.002318/0.002318, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002488/0.002488, allocations: 149.1 kB / 24.26 MB, free: 168 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.531/1.531, allocations: 173.3 MB / 200.8 MB, free: 9.316 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 2.885e-06/2.885e-06, allocations: 0 / 267.4 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.804e-05/4.093e-05, allocations: 6.25 kB / 267.4 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2184/0.2184, allocations: 37.38 MB / 304.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02223/0.2407, allocations: 9.969 MB / 314.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01001/0.2507, allocations: 351.1 kB / 315.1 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0228/0.2735, allocations: 10.86 MB / 325.9 MB, free: 48 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01885/0.2923, allocations: 4.25 MB / 330.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.3027, allocations: 2.405 MB / 332.6 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.03128/0.3339, allocations: 17.08 MB / 349.6 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05923/0.3932, allocations: 20.38 MB / 370 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04009/0.4333, allocations: 12.89 MB / 382.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02241/0.4557, allocations: 8.967 MB / 391.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01028/0.466, allocations: 2.414 MB / 394.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/0.4783, allocations: 2.812 MB / 397.1 MB, free: 8.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01142/0.4897, allocations: 4.995 MB / 402.1 MB, free: 3.832 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01892/0.5086, allocations: 6.258 MB / 408.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3715/0.8801, allocations: 32.78 MB / 441.1 MB, free: 54.63 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.938e-06/0.8802, allocations: 0 / 441.1 MB, free: 54.63 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.884e-06/0.8802, allocations: 1.25 kB / 441.1 MB, free: 54.63 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001368/0.8815, allocations: 0 / 441.1 MB, free: 54.63 MB / 378.8 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.07245/0.954, allocations: 21.67 MB / 462.8 MB, free: 49.57 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/0.954, allocations: 8.766 kB / 462.8 MB, free: 49.57 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05509/1.009, allocations: 10.65 MB / 473.5 MB, free: 47.8 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02733/1.036, allocations: 9.868 MB / 483.3 MB, free: 42.73 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001517/1.038, allocations: 1.057 MB / 484.4 MB, free: 42.25 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007796/1.046, allocations: 1.405 MB / 485.8 MB, free: 41.59 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05908/1.105, allocations: 23.48 MB / 0.4973 GB, free: 17.96 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005874/1.105, allocations: 11.91 kB / 0.4974 GB, free: 17.95 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005441/1.111, allocations: 0.5771 MB / 0.4979 GB, free: 17.39 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006791/1.112, allocations: 0.7793 MB / 0.4987 GB, free: 16.61 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0393/1.151, allocations: 18.68 MB / 0.5169 GB, free: 13.93 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3784/1.529, allocations: 134.2 MB / 0.648 GB, free: 126.3 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02141/1.551, allocations: 13.01 MB / 0.6607 GB, free: 122.6 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006622/1.557, allocations: 4.113 MB / 0.6647 GB, free: 118.5 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02257/1.58, allocations: 12.07 MB / 0.6765 GB, free: 106.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/1.58, allocations: 89.59 kB / 0.6766 GB, free: 106.4 MB / 458.8 MB Notification: Performance of pre-optimization done (n=498): time 8.476e-06/1.58, allocations: 4 kB / 0.6766 GB, free: 106.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=506): time 0.05209/1.632, allocations: 23.2 MB / 0.6993 GB, free: 83.02 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.632, allocations: 129.3 kB / 0.6994 GB, free: 82.87 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/1.642, allocations: 7.657 MB / 0.7069 GB, free: 75.23 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009991/1.643, allocations: 109.7 kB / 0.707 GB, free: 75.11 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003499/1.647, allocations: 7.089 MB / 0.7139 GB, free: 68.01 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002068/1.649, allocations: 2.001 MB / 0.7158 GB, free: 66.03 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002782/1.651, allocations: 1.94 MB / 0.7177 GB, free: 64.08 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/1.652, allocations: 488.7 kB / 0.7182 GB, free: 63.6 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/1.656, allocations: 2.954 MB / 0.7211 GB, free: 60.64 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006292/1.662, allocations: 7.54 MB / 0.7284 GB, free: 51.3 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/1.675, allocations: 11.58 MB / 0.7397 GB, free: 37.92 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002392/1.675, allocations: 28 kB / 0.7398 GB, free: 37.89 MB / 458.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0227/1.698, allocations: 11.05 MB / 0.7506 GB, free: 26.79 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/1.698, allocations: 47.94 kB / 0.7506 GB, free: 26.74 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002343/1.698, allocations: 103.9 kB / 0.7507 GB, free: 26.64 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005812/1.704, allocations: 1.85 MB / 0.7525 GB, free: 24.77 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006592/1.711, allocations: 1.661 MB / 0.7541 GB, free: 23.11 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02168/1.732, allocations: 21.29 MB / 0.7749 GB, free: 1.223 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007868/1.74, allocations: 427.6 kB / 0.7753 GB, free: 0.8047 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001777/1.742, allocations: 368 kB / 0.7757 GB, free: 456 kB / 458.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.2153/1.957, allocations: 4.702 MB / 0.7803 GB, free: 137.6 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002166/1.959, allocations: 0.7451 MB / 0.781 GB, free: 137.6 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/1.975, allocations: 7.914 MB / 0.7887 GB, free: 137.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009154/1.984, allocations: 4.97 MB / 0.7936 GB, free: 136.9 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.734e-05/1.984, allocations: 22.88 kB / 0.7936 GB, free: 136.9 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001133/1.984, allocations: 26.34 kB / 0.7936 GB, free: 136.9 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04691/2.031, allocations: 22.17 MB / 0.8153 GB, free: 134.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/2.031, allocations: 11.8 kB / 0.8153 GB, free: 134.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004146/2.035, allocations: 0.8616 MB / 0.8161 GB, free: 134 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005987/2.041, allocations: 1.917 MB / 0.818 GB, free: 133.6 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009793/2.042, allocations: 128.3 kB / 0.8181 GB, free: 133.5 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02276/2.065, allocations: 25.74 MB / 0.8433 GB, free: 114.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/2.065, allocations: 11.88 kB / 0.8433 GB, free: 114.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/2.085, allocations: 11.75 MB / 0.8548 GB, free: 102.5 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00429/2.089, allocations: 1.194 MB / 0.8559 GB, free: 101.6 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001751/2.091, allocations: 104 kB / 0.856 GB, free: 101.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004042/2.095, allocations: 287.7 kB / 0.8563 GB, free: 101.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/2.096, allocations: 436 kB / 0.8567 GB, free: 100.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003468/2.096, allocations: 152 kB / 0.8569 GB, free: 100.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006247/2.102, allocations: 4.002 MB / 0.8608 GB, free: 96.68 MB / 458.8 MB Notification: Performance of sort global known variables: time 8e-08/2.102, allocations: 0 / 0.8608 GB, free: 96.68 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01163/2.114, allocations: 2.331 MB / 0.863 GB, free: 94.35 MB / 458.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.001986/2.116, allocations: 328.1 kB / 0.8634 GB, free: 94.05 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01491/2.131, allocations: 9.37 MB / 0.8725 GB, free: 84.59 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/2.131, allocations: 4 kB / 0.8725 GB, free: 84.59 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007922/2.139, allocations: 5.256 MB / 0.8776 GB, free: 79.25 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008269/2.147, allocations: 1.464 MB / 0.8791 GB, free: 77.83 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04432/2.191, allocations: 23.52 MB / 0.902 GB, free: 54.11 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01213/2.203, allocations: 7.753 MB / 0.9096 GB, free: 46.31 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.006325/2.21, allocations: 2.118 MB / 0.9117 GB, free: 44.18 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/2.212, allocations: 442.5 kB / 0.9121 GB, free: 43.75 MB / 458.8 MB Notification: Performance of SimCode: time 2.024e-06/2.212, allocations: 4 kB / 0.9121 GB, free: 43.75 MB / 458.8 MB Notification: Performance of Templates: time 0.3646/2.576, allocations: 87.98 MB / 0.998 GB, free: 104.2 MB / 458.8 MB " [Timeout remaining time 657] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] 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.935963350930251]