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.001309/0.001309, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001455/0.001455, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.438/1.438, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.002859/0.002859, allocations: 59.91 kB / 379.1 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2862, allocations: 53.4 MB / 432.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04671/0.3329, allocations: 39.16 MB / 471.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02755/0.3605, allocations: 10.37 MB / 482 MB, free: 4.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009939/0.3704, allocations: 354.1 kB / 482.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02669/0.3971, allocations: 10.35 MB / 492.7 MB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01769/0.4148, allocations: 4.199 MB / 496.9 MB, free: 6.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.4249, allocations: 2.503 MB / 499.4 MB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02892/0.4538, allocations: 16.66 MB / 0.504 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05195/0.5057, allocations: 20.6 MB / 0.5241 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01943/0.5252, allocations: 8.704 MB / 0.5326 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.5936/1.119, allocations: 9.609 MB / 0.542 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0108/1.13, allocations: 2.419 MB / 0.5443 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/1.142, allocations: 2.844 MB / 0.5471 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01022/1.152, allocations: 4.824 MB / 0.5518 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02018/1.172, allocations: 9.212 MB / 0.5608 GB, free: 27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04177/1.214, allocations: 32.24 MB / 0.5923 GB, free: 8.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.214, allocations: 0 / 0.5923 GB, free: 8.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/1.214, allocations: 0 / 0.5923 GB, free: 8.863 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001092/1.215, allocations: 3.938 kB / 0.5923 GB, free: 8.859 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.06348/1.279, allocations: 18.99 MB / 0.6109 GB, free: 11.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.279, allocations: 8.031 kB / 0.6109 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04812/1.327, allocations: 8.276 MB / 0.6189 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0293/1.356, allocations: 10.38 MB / 0.6291 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001451/1.357, allocations: 1.06 MB / 0.6301 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00729/1.365, allocations: 1.399 MB / 0.6315 GB, free: 6.883 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06981/1.435, allocations: 22.79 MB / 0.6538 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000726/1.435, allocations: 19.94 kB / 0.6538 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00626/1.442, allocations: 0.5783 MB / 0.6543 GB, free: 15.46 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009695/1.443, allocations: 0.7793 MB / 0.6551 GB, free: 14.68 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06025/1.503, allocations: 21.06 MB / 0.6757 GB, free: 9.617 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1618/1.665, allocations: 71.08 MB / 0.7451 GB, free: 2.383 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3337/1.998, allocations: 13.97 MB / 0.7587 GB, free: 191.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007499/2.006, allocations: 4.734 MB / 0.7633 GB, free: 190 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02134/2.027, allocations: 12.68 MB / 0.7757 GB, free: 184.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.239e-05/2.027, allocations: 89.33 kB / 0.7758 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 6.302e-06/2.027, allocations: 0 / 0.7758 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05466/2.082, allocations: 25.86 MB / 0.8011 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/2.082, allocations: 133.8 kB / 0.8012 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009157/2.091, allocations: 5.792 MB / 0.8068 GB, free: 171.6 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001171/2.092, allocations: 108.8 kB / 0.807 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003678/2.096, allocations: 6.372 MB / 0.8132 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003093/2.099, allocations: 1.808 MB / 0.8149 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002627/2.102, allocations: 1.482 MB / 0.8164 GB, free: 163 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/2.102, allocations: 305.1 kB / 0.8167 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004715/2.106, allocations: 3.644 MB / 0.8202 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005598/2.112, allocations: 6.482 MB / 0.8266 GB, free: 151.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/2.123, allocations: 10.78 MB / 0.8371 GB, free: 139.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.489e-05/2.123, allocations: 28 kB / 0.8371 GB, free: 139.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01939/2.142, allocations: 12.03 MB / 0.8489 GB, free: 127.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/2.142, allocations: 44 kB / 0.8489 GB, free: 127.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/2.143, allocations: 92.56 kB / 0.849 GB, free: 127 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/2.147, allocations: 1.599 MB / 0.8506 GB, free: 125.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/2.153, allocations: 1.669 MB / 0.8522 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/2.172, allocations: 19.13 MB / 0.8709 GB, free: 104 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006804/2.179, allocations: 423.5 kB / 0.8713 GB, free: 103.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001579/2.18, allocations: 371.9 kB / 0.8716 GB, free: 103.3 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.009923/2.19, allocations: 5.191 MB / 0.8767 GB, free: 98.05 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/2.192, allocations: 0.6327 MB / 0.8773 GB, free: 97.42 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/2.206, allocations: 9.161 MB / 0.8863 GB, free: 88.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00781/2.214, allocations: 5.86 MB / 0.892 GB, free: 82.31 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.467e-05/2.214, allocations: 16 kB / 0.892 GB, free: 82.29 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-05/2.214, allocations: 31.89 kB / 0.892 GB, free: 82.26 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03576/2.25, allocations: 20.93 MB / 0.9125 GB, free: 61.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/2.25, allocations: 4 kB / 0.9125 GB, free: 61.26 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00342/2.254, allocations: 0.8698 MB / 0.9133 GB, free: 60.39 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004195/2.258, allocations: 1.635 MB / 0.9149 GB, free: 58.73 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000511/2.258, allocations: 135.9 kB / 0.915 GB, free: 58.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/2.279, allocations: 22.49 MB / 0.937 GB, free: 35.34 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.279, allocations: 4 kB / 0.937 GB, free: 35.33 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01917/2.298, allocations: 13.58 MB / 0.9503 GB, free: 21.43 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004102/2.302, allocations: 1.351 MB / 0.9516 GB, free: 20.07 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/2.304, allocations: 100 kB / 0.9517 GB, free: 19.97 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004121/2.308, allocations: 286.8 kB / 0.952 GB, free: 19.7 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/2.309, allocations: 436.2 kB / 0.9524 GB, free: 19.27 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003412/2.309, allocations: 159.9 kB / 0.9525 GB, free: 19.11 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006416/2.316, allocations: 3.9 MB / 0.9563 GB, free: 15.24 MB / 0.5763 GB Notification: Performance of sort global known variables: time 5.01e-07/2.316, allocations: 8 kB / 0.9564 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01162/2.327, allocations: 2.34 MB / 0.9586 GB, free: 12.89 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.001856/2.329, allocations: 307.4 kB / 0.9589 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01667/2.346, allocations: 9.452 MB / 0.9682 GB, free: 3.059 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/2.346, allocations: 0.875 kB / 0.9682 GB, free: 3.059 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.2525/2.598, allocations: 5.142 MB / 0.9732 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009277/2.608, allocations: 1.647 MB / 0.9748 GB, free: 180.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04866/2.656, allocations: 24.72 MB / 0.9989 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01487/2.671, allocations: 8.582 MB / 1.007 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002756/2.674, allocations: 0.541 MB / 1.008 GB, free: 169.7 MB / 0.5763 GB Notification: Performance of SimCode: time 2.134e-06/2.674, allocations: 0 / 1.008 GB, free: 169.7 MB / 0.5763 GB Notification: Performance of Templates: time 1.542/4.216, allocations: 0.6726 GB / 1.68 GB, free: 191.2 MB / 0.6075 GB " [Timeout remaining time 656] 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/jenkins1/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/jenkins1/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: 28.325980957131833]