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.0007462/0.0007462, allocations: 84 kB / 21.43 MB, free: 3.121 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.003426/0.003426, allocations: 152.2 kB / 24.69 MB, free: 9.438 MB / 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 0.8449/0.8449, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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 1.332e-06/1.332e-06, allocations: 0 / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.292e-05, allocations: 2.281 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02333/0.02335, allocations: 32.88 MB / 352.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.04173, allocations: 9.767 MB / 362.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008126/0.04986, allocations: 354.1 kB / 362.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01585/0.06571, allocations: 10.08 MB / 372.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.07828, allocations: 4.232 MB / 377 MB, free: 12.28 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006202/0.08448, allocations: 2.39 MB / 379.4 MB, free: 9.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01766/0.1021, allocations: 17.06 MB / 396.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0246/0.1267, allocations: 20.34 MB / 416.8 MB, free: 4.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01638/0.1431, allocations: 12.77 MB / 429.6 MB, free: 7.422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01315/0.1563, allocations: 8.131 MB / 437.7 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006781/0.1631, allocations: 2.414 MB / 440.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008331/0.1714, allocations: 2.808 MB / 443 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006904/0.1783, allocations: 4.909 MB / 447.9 MB, free: 5.129 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3534/0.5317, allocations: 6.176 MB / 454 MB, free: 49.93 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03289/0.5646, allocations: 32.58 MB / 486.6 MB, free: 42.91 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5646, allocations: 0 / 486.6 MB, free: 42.91 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5646, allocations: 0 / 486.6 MB, free: 42.91 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001009/0.5656, allocations: 2.031 kB / 486.6 MB, free: 42.91 MB / 410.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.05271/0.6183, allocations: 18.78 MB / 0.4936 GB, free: 33.06 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6183, allocations: 8.672 kB / 0.4936 GB, free: 33.06 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02576/0.6441, allocations: 8.371 MB / 0.5018 GB, free: 29.25 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/0.6624, allocations: 10.29 MB / 0.5118 GB, free: 19.89 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001301/0.6638, allocations: 1.062 MB / 0.5128 GB, free: 18.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007421/0.6712, allocations: 1.399 MB / 0.5142 GB, free: 17.46 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05816/0.7293, allocations: 23.05 MB / 0.5367 GB, free: 10.29 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006041/0.7299, allocations: 23.89 kB / 0.5367 GB, free: 10.26 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006383/0.7363, allocations: 0.5779 MB / 0.5373 GB, free: 9.695 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00062/0.7369, allocations: 0.7829 MB / 0.5381 GB, free: 8.914 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04239/0.7793, allocations: 20.92 MB / 0.5585 GB, free: 3.977 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1162/0.8955, allocations: 62.98 MB / 0.62 GB, free: 4.945 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.208/1.104, allocations: 13.74 MB / 0.6334 GB, free: 167.6 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00685/1.11, allocations: 4.706 MB / 0.638 GB, free: 167.5 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0182/1.129, allocations: 11.32 MB / 0.6491 GB, free: 164.5 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/1.129, allocations: 89.58 kB / 0.6492 GB, free: 164.5 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=498): time 7.334e-06/1.129, allocations: 0 / 0.6492 GB, free: 164.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=506): time 0.03832/1.167, allocations: 25.75 MB / 0.6743 GB, free: 150.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/1.167, allocations: 129.3 kB / 0.6744 GB, free: 150.2 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006736/1.174, allocations: 5.482 MB / 0.6798 GB, free: 145.5 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001211/1.175, allocations: 109.7 kB / 0.6799 GB, free: 145.4 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.177, allocations: 6.348 MB / 0.6861 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.179, allocations: 1.791 MB / 0.6878 GB, free: 138.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/1.18, allocations: 1.453 MB / 0.6893 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 3.564e-05/1.18, allocations: 301.1 kB / 0.6895 GB, free: 136.5 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003582/1.184, allocations: 3.633 MB / 0.6931 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004408/1.188, allocations: 6.527 MB / 0.6995 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008924/1.197, allocations: 10.76 MB / 0.71 GB, free: 113.7 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.16e-05/1.197, allocations: 28.55 kB / 0.71 GB, free: 113.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01446/1.212, allocations: 11.96 MB / 0.7217 GB, free: 101.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/1.212, allocations: 44 kB / 0.7217 GB, free: 101.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/1.212, allocations: 92 kB / 0.7218 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/1.215, allocations: 1.587 MB / 0.7234 GB, free: 99.95 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/1.218, allocations: 1.661 MB / 0.725 GB, free: 98.28 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/1.231, allocations: 18.72 MB / 0.7433 GB, free: 79.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004917/1.236, allocations: 427.6 kB / 0.7437 GB, free: 78.66 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.237, allocations: 368 kB / 0.744 GB, free: 78.3 MB / 0.4949 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.008515/1.246, allocations: 5.184 MB / 0.7491 GB, free: 73.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/1.247, allocations: 0.5861 MB / 0.7496 GB, free: 72.51 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009852/1.257, allocations: 9.131 MB / 0.7586 GB, free: 63.31 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005353/1.262, allocations: 5.833 MB / 0.7643 GB, free: 57.45 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.333e-05/1.262, allocations: 20 kB / 0.7643 GB, free: 57.43 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.913e-05/1.262, allocations: 23.91 kB / 0.7643 GB, free: 57.41 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/1.287, allocations: 17.91 MB / 0.7818 GB, free: 39.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.287, allocations: 8 kB / 0.7818 GB, free: 39.44 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/1.289, allocations: 0.862 MB / 0.7826 GB, free: 38.58 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002653/1.291, allocations: 1.634 MB / 0.7842 GB, free: 36.93 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000397/1.292, allocations: 124 kB / 0.7844 GB, free: 36.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/1.305, allocations: 21.99 MB / 0.8058 GB, free: 14.13 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.305, allocations: 11.94 kB / 0.8058 GB, free: 14.12 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/1.32, allocations: 13.48 MB / 0.819 GB, free: 332 kB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1886/1.508, allocations: 1.293 MB / 0.8203 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/1.509, allocations: 106.2 kB / 0.8204 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/1.511, allocations: 285.4 kB / 0.8206 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008723/1.512, allocations: 435.6 kB / 0.8211 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000318/1.513, allocations: 149.1 kB / 0.8212 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005601/1.518, allocations: 3.573 MB / 0.8247 GB, free: 149.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.61e-07/1.518, allocations: 0 / 0.8247 GB, free: 149.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00899/1.527, allocations: 2.33 MB / 0.827 GB, free: 149.7 MB / 0.4949 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.001338/1.529, allocations: 332.1 kB / 0.8273 GB, free: 149.6 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01154/1.54, allocations: 9.431 MB / 0.8365 GB, free: 148.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.54, allocations: 3.531 kB / 0.8365 GB, free: 148.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005934/1.546, allocations: 5.136 MB / 0.8415 GB, free: 147.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005552/1.552, allocations: 1.418 MB / 0.8429 GB, free: 147.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/1.587, allocations: 24.47 MB / 0.8668 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/1.598, allocations: 8.208 MB / 0.8748 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/1.6, allocations: 0.4909 MB / 0.8753 GB, free: 127.2 MB / 0.4949 GB Notification: Performance of SimCode: time 1.663e-06/1.6, allocations: 0 / 0.8753 GB, free: 127.2 MB / 0.4949 GB Notification: Performance of Templates: time 1.307/2.907, allocations: 0.6705 GB / 1.546 GB, free: 150.2 MB / 0.4949 GB " [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=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/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: 16.786400830373168]