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.001294/0.001294, allocations: 116.9 kB / 18.41 MB, free: 4.516 MB / 14.72 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.001256/0.001256, allocations: 186.9 kB / 21.34 MB, free: 1.59 MB / 14.72 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.586/1.586, allocations: 222.9 MB / 247 MB, free: 4.184 MB / 190.1 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 0.001535/0.001536, allocations: 51.84 kB / 358.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.09732, allocations: 49.44 MB / 408.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2436/0.3409, allocations: 38.27 MB / 446.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02/0.361, allocations: 10.01 MB / 456.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008217/0.3692, allocations: 291.6 kB / 456.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02426/0.3935, allocations: 10.18 MB / 466.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01774/0.4112, allocations: 4.034 MB / 470.9 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00846/0.4197, allocations: 2.393 MB / 473.3 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02446/0.4442, allocations: 16.37 MB / 489.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05263/0.4969, allocations: 31.2 MB / 0.5087 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01594/0.5129, allocations: 8.47 MB / 0.517 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01788/0.5308, allocations: 9.316 MB / 0.5261 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007878/0.5387, allocations: 2.418 MB / 0.5284 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/0.5496, allocations: 2.812 MB / 0.5312 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007936/0.5576, allocations: 4.805 MB / 0.5359 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01754/0.5751, allocations: 9.203 MB / 0.5449 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04321/0.6184, allocations: 32.19 MB / 0.5763 GB, free: 5.129 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.6184, allocations: 0 / 0.5763 GB, free: 5.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6184, allocations: 0 / 0.5763 GB, free: 5.129 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009603/0.6194, allocations: 0 / 0.5763 GB, free: 5.129 MB / 478.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.0624/0.6818, allocations: 19.01 MB / 0.5948 GB, free: 1.977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.6819, allocations: 12.03 kB / 0.5949 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04907/0.731, allocations: 8.376 MB / 0.603 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5014/1.232, allocations: 10.23 MB / 0.613 GB, free: 134.4 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/1.234, allocations: 1.055 MB / 0.6141 GB, free: 134.4 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006477/1.24, allocations: 1.399 MB / 0.6154 GB, free: 134.4 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06951/1.31, allocations: 22.75 MB / 0.6376 GB, free: 129 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007998/1.311, allocations: 16.62 kB / 0.6377 GB, free: 129 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006095/1.317, allocations: 0.5784 MB / 0.6382 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00106/1.318, allocations: 0.7825 MB / 0.639 GB, free: 128.4 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04233/1.36, allocations: 21.02 MB / 0.6595 GB, free: 119 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1116/1.472, allocations: 72.18 MB / 0.73 GB, free: 46.7 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02524/1.497, allocations: 42.4 MB / 0.7714 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01005/1.507, allocations: 5.166 MB / 0.7764 GB, free: 10.23 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/1.535, allocations: 12.69 MB / 0.7888 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/1.535, allocations: 82.77 kB / 0.7889 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 7.554e-06/1.535, allocations: 4 kB / 0.7889 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.06931/1.605, allocations: 26.61 MB / 0.8149 GB, free: 3.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.605, allocations: 129.3 kB / 0.815 GB, free: 3.152 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2494/1.854, allocations: 5.757 MB / 0.8207 GB, free: 166.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008919/1.855, allocations: 109.2 kB / 0.8208 GB, free: 166.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004002/1.859, allocations: 6.355 MB / 0.827 GB, free: 165.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/1.861, allocations: 1.819 MB / 0.8287 GB, free: 164.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00244/1.863, allocations: 1.469 MB / 0.8302 GB, free: 164.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.373e-05/1.864, allocations: 306.8 kB / 0.8305 GB, free: 164 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005671/1.869, allocations: 3.628 MB / 0.834 GB, free: 163.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007689/1.877, allocations: 6.478 MB / 0.8403 GB, free: 159 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/1.891, allocations: 10.77 MB / 0.8508 GB, free: 151.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001761/1.891, allocations: 23.78 kB / 0.8509 GB, free: 151.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01979/1.911, allocations: 12.11 MB / 0.8627 GB, free: 146.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.911, allocations: 51.22 kB / 0.8627 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002048/1.912, allocations: 93.97 kB / 0.8628 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/1.916, allocations: 1.587 MB / 0.8644 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005937/1.922, allocations: 1.661 MB / 0.866 GB, free: 146.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/1.943, allocations: 19.64 MB / 0.8852 GB, free: 133.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006238/1.949, allocations: 426.3 kB / 0.8856 GB, free: 132.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/1.95, allocations: 365.7 kB / 0.8859 GB, free: 132.9 MB / 0.545 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.009089/1.959, allocations: 5.187 MB / 0.891 GB, free: 130.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/1.961, allocations: 0.6308 MB / 0.8916 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.977, allocations: 9.357 MB / 0.9008 GB, free: 124.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00822/1.986, allocations: 5.864 MB / 0.9065 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.117e-05/1.986, allocations: 20 kB / 0.9065 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.136e-05/1.986, allocations: 27.14 kB / 0.9065 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03512/2.021, allocations: 21 MB / 0.927 GB, free: 98.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/2.021, allocations: 8.156 kB / 0.9271 GB, free: 98.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/2.024, allocations: 0.8621 MB / 0.9279 GB, free: 97.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004021/2.028, allocations: 1.639 MB / 0.9295 GB, free: 96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005421/2.029, allocations: 128 kB / 0.9296 GB, free: 95.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02059/2.05, allocations: 23.22 MB / 0.9523 GB, free: 71.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/2.05, allocations: 8 kB / 0.9523 GB, free: 71.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/2.07, allocations: 13.74 MB / 0.9657 GB, free: 57.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003318/2.073, allocations: 1.387 MB / 0.9671 GB, free: 56.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/2.075, allocations: 108 kB / 0.9672 GB, free: 56.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/2.078, allocations: 283.7 kB / 0.9674 GB, free: 55.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009528/2.079, allocations: 420.3 kB / 0.9678 GB, free: 55.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/2.08, allocations: 156 kB / 0.968 GB, free: 55.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00478/2.085, allocations: 3.875 MB / 0.9718 GB, free: 51.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/2.085, allocations: 0 / 0.9718 GB, free: 51.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007546/2.092, allocations: 2.344 MB / 0.9741 GB, free: 49.06 MB / 0.545 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,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.0007123/2.093, allocations: 324.4 kB / 0.9744 GB, free: 48.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01225/2.105, allocations: 9.889 MB / 0.984 GB, free: 38.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/2.105, allocations: 1.875 kB / 0.984 GB, free: 38.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006665/2.112, allocations: 5.461 MB / 0.9894 GB, free: 33.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007031/2.119, allocations: 1.628 MB / 0.991 GB, free: 31.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/2.156, allocations: 24.58 MB / 1.015 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2467/2.402, allocations: 8.554 MB / 1.023 GB, free: 164.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/2.405, allocations: 0.5104 MB / 1.024 GB, free: 164.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.283e-06/2.405, allocations: 0 / 1.024 GB, free: 164.7 MB / 0.5607 GB Notification: Performance of Templates: time 2.318/4.723, allocations: 0.6684 GB / 1.692 GB, free: 167.2 MB / 0.5763 GB " [Timeout remaining time 655] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 31.06616222206503]