Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 209.7 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 68.08 kB / 376.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2453, allocations: 53.33 MB / 429.8 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04381/0.2892, allocations: 39.16 MB / 469 MB, free: 192 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02342/0.3126, allocations: 10.36 MB / 479.4 MB, free: 5.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007128/0.3197, allocations: 299 kB / 479.7 MB, free: 5.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02478/0.3445, allocations: 10.3 MB / 490 MB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01626/0.3607, allocations: 4.133 MB / 494.1 MB, free: 7.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008256/0.369, allocations: 2.456 MB / 496.5 MB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02369/0.3927, allocations: 16.54 MB / 0.5011 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03669/0.4294, allocations: 19.36 MB / 0.52 GB, free: 380 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0152/0.4446, allocations: 8.544 MB / 0.5283 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4348/0.8794, allocations: 9.594 MB / 0.5377 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006094/0.8854, allocations: 2.416 MB / 0.54 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007729/0.8932, allocations: 2.835 MB / 0.5428 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005305/0.8985, allocations: 4.831 MB / 0.5475 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0132/0.9117, allocations: 9.211 MB / 0.5565 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02713/0.9388, allocations: 32.23 MB / 0.588 GB, free: 9.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.9388, allocations: 2.5 kB / 0.588 GB, free: 9.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.9388, allocations: 0 / 0.588 GB, free: 9.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007446/0.9396, allocations: 3.938 kB / 0.588 GB, free: 9.547 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.04903/0.9886, allocations: 19.07 MB / 0.6066 GB, free: 13.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.9886, allocations: 8.031 kB / 0.6066 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04735/1.036, allocations: 8.279 MB / 0.6147 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02271/1.059, allocations: 10.29 MB / 0.6248 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001242/1.06, allocations: 1.058 MB / 0.6258 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005498/1.065, allocations: 1.404 MB / 0.6272 GB, free: 8.621 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06165/1.127, allocations: 22.79 MB / 0.6494 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006089/1.128, allocations: 31.58 kB / 0.6494 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004194/1.132, allocations: 0.5788 MB / 0.65 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000935/1.133, allocations: 0.7793 MB / 0.6508 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04804/1.181, allocations: 21.06 MB / 0.6713 GB, free: 11.35 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.14/1.321, allocations: 72.88 MB / 0.7425 GB, free: 2.016 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2395/1.56, allocations: 42.11 MB / 0.7836 GB, free: 156.9 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006597/1.567, allocations: 4.742 MB / 0.7883 GB, free: 155.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01948/1.586, allocations: 13.03 MB / 0.801 GB, free: 149.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/1.586, allocations: 90.5 kB / 0.8011 GB, free: 149.3 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 6.933e-06/1.586, allocations: 0 / 0.8011 GB, free: 149.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.04914/1.636, allocations: 26.62 MB / 0.8271 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/1.636, allocations: 126.8 kB / 0.8272 GB, free: 137.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007565/1.643, allocations: 5.789 MB / 0.8329 GB, free: 135.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008486/1.644, allocations: 105.7 kB / 0.833 GB, free: 135.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002699/1.647, allocations: 6.377 MB / 0.8392 GB, free: 129.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0017/1.648, allocations: 1.818 MB / 0.841 GB, free: 127.9 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002142/1.651, allocations: 1.474 MB / 0.8424 GB, free: 126.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.798e-05/1.651, allocations: 307.1 kB / 0.8427 GB, free: 126.3 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00455/1.655, allocations: 3.635 MB / 0.8462 GB, free: 123.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005372/1.661, allocations: 6.487 MB / 0.8526 GB, free: 115.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/1.671, allocations: 10.79 MB / 0.8631 GB, free: 103.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.19e-05/1.671, allocations: 24 kB / 0.8631 GB, free: 103.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01876/1.69, allocations: 12.1 MB / 0.875 GB, free: 91.21 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/1.69, allocations: 48 kB / 0.875 GB, free: 91.17 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/1.69, allocations: 92 kB / 0.8751 GB, free: 91.08 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/1.694, allocations: 1.595 MB / 0.8766 GB, free: 89.47 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005942/1.7, allocations: 1.673 MB / 0.8783 GB, free: 87.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/1.719, allocations: 19.64 MB / 0.8975 GB, free: 67.47 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006251/1.725, allocations: 427.5 kB / 0.8979 GB, free: 67.05 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.727, allocations: 371.9 kB / 0.8982 GB, free: 66.69 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.008532/1.735, allocations: 5.195 MB / 0.9033 GB, free: 61.48 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.737, allocations: 0.6288 MB / 0.9039 GB, free: 60.85 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/1.751, allocations: 9.304 MB / 0.913 GB, free: 51.45 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008066/1.759, allocations: 5.849 MB / 0.9187 GB, free: 45.57 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-05/1.759, allocations: 20 kB / 0.9187 GB, free: 45.55 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-05/1.759, allocations: 27.89 kB / 0.9188 GB, free: 45.52 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04083/1.8, allocations: 21.02 MB / 0.9393 GB, free: 24.39 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/1.8, allocations: 8 kB / 0.9393 GB, free: 24.38 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003687/1.804, allocations: 0.8699 MB / 0.9401 GB, free: 23.51 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004234/1.808, allocations: 1.65 MB / 0.9418 GB, free: 21.84 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007548/1.809, allocations: 131.9 kB / 0.9419 GB, free: 21.71 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2638/2.072, allocations: 23.2 MB / 0.9645 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/2.072, allocations: 8.156 kB / 0.9645 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/2.093, allocations: 13.72 MB / 0.9779 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003771/2.096, allocations: 1.395 MB / 0.9793 GB, free: 171.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/2.098, allocations: 108.2 kB / 0.9794 GB, free: 171.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/2.101, allocations: 280.5 kB / 0.9797 GB, free: 171.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/2.102, allocations: 420.6 kB / 0.9801 GB, free: 171.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003324/2.102, allocations: 166.7 kB / 0.9802 GB, free: 171.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006079/2.108, allocations: 3.903 MB / 0.984 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/2.108, allocations: 0 / 0.984 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008978/2.117, allocations: 2.341 MB / 0.9863 GB, free: 169.6 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.0008047/2.118, allocations: 314.8 kB / 0.9866 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01368/2.132, allocations: 9.528 MB / 0.9959 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/2.132, allocations: 3.844 kB / 0.9959 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007469/2.139, allocations: 5.148 MB / 1.001 GB, free: 163 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007467/2.147, allocations: 1.646 MB / 1.003 GB, free: 162.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03528/2.182, allocations: 25.12 MB / 1.027 GB, free: 148.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007416/2.189, allocations: 8.85 MB / 1.036 GB, free: 141.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005905/2.195, allocations: 2.538 MB / 1.038 GB, free: 139.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/2.196, allocations: 486 kB / 1.039 GB, free: 139.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.293e-06/2.196, allocations: 0 / 1.039 GB, free: 139.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1405/2.337, allocations: 101.5 MB / 1.138 GB, free: 41.84 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.703416884876788]