Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002052/0.002052, allocations: 67.7 kB / 21.24 MB, free: 0.5039 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.002377/0.002377, allocations: 163.2 kB / 24.5 MB, free: 3.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 158.6 MB / 186.2 MB, free: 6.512 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 54.42 kB / 298.7 MB, free: 6.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3057, allocations: 49.15 MB / 347.8 MB, free: 15.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04245/0.3481, allocations: 32.89 MB / 380.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02832/0.3764, allocations: 9.757 MB / 390.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01509/0.3915, allocations: 302.2 kB / 390.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02936/0.4209, allocations: 10.06 MB / 400.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01978/0.4407, allocations: 4.153 MB / 405 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00965/0.4503, allocations: 2.417 MB / 407.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.03096/0.4813, allocations: 16.68 MB / 424.1 MB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04598/0.5272, allocations: 20.3 MB / 444.4 MB, free: 14.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03206/0.5593, allocations: 13.25 MB / 457.6 MB, free: 1.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02003/0.5793, allocations: 9.136 MB / 466.7 MB, free: 8.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008726/0.5881, allocations: 2.426 MB / 469.2 MB, free: 5.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/0.5998, allocations: 2.808 MB / 472 MB, free: 2.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.5404/1.14, allocations: 4.874 MB / 476.8 MB, free: 41.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02395/1.164, allocations: 7.232 MB / 484.1 MB, free: 41.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04576/1.21, allocations: 32.34 MB / 0.5043 GB, free: 31.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-05/1.21, allocations: 0 / 0.5043 GB, free: 31.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.925e-06/1.21, allocations: 3.656 kB / 0.5043 GB, free: 31.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001137/1.211, allocations: 0 / 0.5043 GB, free: 31.8 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.07388/1.285, allocations: 19.1 MB / 0.523 GB, free: 19.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.285, allocations: 15.3 kB / 0.523 GB, free: 19.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05134/1.336, allocations: 9.363 MB / 0.5321 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02763/1.364, allocations: 9.288 MB / 0.5412 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001257/1.365, allocations: 1.071 MB / 0.5422 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008432/1.374, allocations: 1.412 MB / 0.5436 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08993/1.464, allocations: 23.51 MB / 0.5666 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009708/1.465, allocations: 18.62 kB / 0.5666 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007695/1.472, allocations: 0.5854 MB / 0.5672 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001189/1.473, allocations: 0.8065 MB / 0.568 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06151/1.535, allocations: 21.6 MB / 0.5891 GB, free: 4.547 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1701/1.705, allocations: 63.95 MB / 0.6515 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0325/1.738, allocations: 15.83 MB / 0.667 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01132/1.749, allocations: 4.877 MB / 0.6717 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3933/2.142, allocations: 13.84 MB / 0.6852 GB, free: 187.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/2.142, allocations: 88.61 kB / 0.6853 GB, free: 187.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 2.677e-05/2.142, allocations: 0.9688 kB / 0.6853 GB, free: 187.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.1057/2.248, allocations: 26.35 MB / 0.7111 GB, free: 178.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/2.248, allocations: 130.6 kB / 0.7112 GB, free: 178.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0179/2.266, allocations: 5.656 MB / 0.7167 GB, free: 176.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001316/2.267, allocations: 113.7 kB / 0.7168 GB, free: 176.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00495/2.272, allocations: 6.514 MB / 0.7232 GB, free: 170.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002802/2.275, allocations: 1.823 MB / 0.725 GB, free: 168.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005857/2.281, allocations: 1.533 MB / 0.7265 GB, free: 167.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.345e-05/2.281, allocations: 301.1 kB / 0.7267 GB, free: 167 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008811/2.29, allocations: 3.682 MB / 0.7303 GB, free: 163.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01343/2.303, allocations: 6.819 MB / 0.737 GB, free: 156.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0229/2.326, allocations: 11.14 MB / 0.7479 GB, free: 144.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001605/2.326, allocations: 28 kB / 0.7479 GB, free: 144.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.03913/2.365, allocations: 12.27 MB / 0.7599 GB, free: 133.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002298/2.366, allocations: 48.56 kB / 0.7599 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002903/2.366, allocations: 100 kB / 0.76 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007563/2.374, allocations: 1.603 MB / 0.7616 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01231/2.386, allocations: 1.739 MB / 0.7633 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03809/2.424, allocations: 18.73 MB / 0.7816 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/2.436, allocations: 443.6 kB / 0.782 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002887/2.439, allocations: 384 kB / 0.7824 GB, free: 110.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (904): * Single equations (assignments): 897 * 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,54.2%), (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.01467/2.453, allocations: 5.25 MB / 0.7875 GB, free: 104.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002459/2.456, allocations: 0.6055 MB / 0.7881 GB, free: 104.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/2.475, allocations: 9.146 MB / 0.797 GB, free: 95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01011/2.485, allocations: 5.829 MB / 0.8027 GB, free: 89.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.461e-05/2.485, allocations: 24 kB / 0.8027 GB, free: 89.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001238/2.486, allocations: 23.91 kB / 0.8028 GB, free: 89.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04343/2.529, allocations: 17.98 MB / 0.8203 GB, free: 71.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/2.529, allocations: 4 kB / 0.8203 GB, free: 71.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004076/2.533, allocations: 0.8626 MB / 0.8212 GB, free: 70.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004731/2.538, allocations: 1.638 MB / 0.8228 GB, free: 68.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001251/2.539, allocations: 120 kB / 0.8229 GB, free: 68.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02322/2.562, allocations: 22.01 MB / 0.8444 GB, free: 45.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/2.562, allocations: 12.16 kB / 0.8444 GB, free: 45.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02437/2.587, allocations: 13.51 MB / 0.8576 GB, free: 31.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004769/2.592, allocations: 1.307 MB / 0.8589 GB, free: 30.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00261/2.594, allocations: 107.9 kB / 0.859 GB, free: 30.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004657/2.599, allocations: 287.7 kB / 0.8592 GB, free: 30.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001675/2.6, allocations: 432.2 kB / 0.8596 GB, free: 29.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009226/2.601, allocations: 152 kB / 0.8598 GB, free: 29.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007775/2.609, allocations: 3.651 MB / 0.8634 GB, free: 26 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/2.609, allocations: 0 / 0.8634 GB, free: 26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01282/2.622, allocations: 2.363 MB / 0.8657 GB, free: 23.63 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.001845/2.624, allocations: 309 kB / 0.866 GB, free: 23.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0269/2.651, allocations: 9.554 MB / 0.8753 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.173e-05/2.651, allocations: 3.938 kB / 0.8753 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01443/2.665, allocations: 5.152 MB / 0.8803 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01662/2.682, allocations: 1.453 MB / 0.8817 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3233/3.005, allocations: 25.45 MB / 0.9066 GB, free: 167.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0154/3.02, allocations: 8.571 MB / 0.915 GB, free: 166.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008212/3.029, allocations: 2.548 MB / 0.9175 GB, free: 166.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002324/3.031, allocations: 449.3 kB / 0.9179 GB, free: 166.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.873e-06/3.031, allocations: 0 / 0.9179 GB, free: 166.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1465/3.177, allocations: 88.76 MB / 1.005 GB, free: 89.82 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.604727938771248]