Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001844/0.001844, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002719/0.002719, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 47.94 kB / 373.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.109, allocations: 53.33 MB / 426.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2347/0.3436, allocations: 24.99 MB / 451.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01934/0.363, allocations: 8.084 MB / 459.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006108/0.3691, allocations: 217.4 kB / 460.1 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02297/0.3921, allocations: 8.458 MB / 468.6 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.4042, allocations: 3.083 MB / 471.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006455/0.4107, allocations: 1.828 MB / 473.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01856/0.4293, allocations: 11.23 MB / 484.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03475/0.464, allocations: 17.41 MB / 0.4904 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.4745, allocations: 6.028 MB / 0.4963 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0117/0.4862, allocations: 6.549 MB / 0.5027 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004689/0.4909, allocations: 1.719 MB / 0.5043 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007303/0.4982, allocations: 2.152 MB / 0.5064 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005989/0.5042, allocations: 3.402 MB / 0.5098 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0127/0.5169, allocations: 6.362 MB / 0.516 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03622/0.5531, allocations: 23.19 MB / 0.5386 GB, free: 3.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.5531, allocations: 3.938 kB / 0.5386 GB, free: 3.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5531, allocations: 3.938 kB / 0.5386 GB, free: 3.566 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005883/0.5537, allocations: 4 kB / 0.5386 GB, free: 3.562 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04445/0.5982, allocations: 13.64 MB / 0.552 GB, free: 5.801 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.5982, allocations: 8.031 kB / 0.552 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03813/0.6363, allocations: 6.251 MB / 0.5581 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01567/0.652, allocations: 7.298 MB / 0.5652 GB, free: 8.156 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007468/0.6528, allocations: 0.7185 MB / 0.5659 GB, free: 7.438 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00357/0.6563, allocations: 0.9452 MB / 0.5668 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04206/0.6984, allocations: 16.17 MB / 0.5826 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000283/0.6987, allocations: 19.81 kB / 0.5826 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003174/0.7018, allocations: 396 kB / 0.583 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007264/0.7026, allocations: 0.5591 MB / 0.5836 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03436/0.7369, allocations: 15.14 MB / 0.5984 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4741/1.211, allocations: 52.64 MB / 0.6498 GB, free: 125 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/1.229, allocations: 19.69 MB / 0.669 GB, free: 108.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005894/1.235, allocations: 3.336 MB / 0.6722 GB, free: 107.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/1.235, allocations: 295.2 kB / 0.6725 GB, free: 107 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/1.235, allocations: 81.22 kB / 0.6726 GB, free: 107 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 6.512e-06/1.235, allocations: 3.969 kB / 0.6726 GB, free: 107 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04859/1.284, allocations: 20.77 MB / 0.6929 GB, free: 95.57 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/1.284, allocations: 98.33 kB / 0.693 GB, free: 95.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/1.289, allocations: 4.515 MB / 0.6974 GB, free: 93.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007573/1.29, allocations: 97.52 kB / 0.6975 GB, free: 93.11 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00211/1.292, allocations: 4.339 MB / 0.7017 GB, free: 89.94 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001322/1.294, allocations: 1.608 MB / 0.7033 GB, free: 88.54 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/1.295, allocations: 1.208 MB / 0.7045 GB, free: 87.85 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/1.295, allocations: 309.1 kB / 0.7048 GB, free: 87.55 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004021/1.299, allocations: 3.07 MB / 0.7078 GB, free: 85.45 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/1.304, allocations: 5.22 MB / 0.7129 GB, free: 79.25 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009957/1.314, allocations: 8.887 MB / 0.7215 GB, free: 69.4 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-05/1.314, allocations: 20 kB / 0.7216 GB, free: 69.38 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01643/1.331, allocations: 9.868 MB / 0.7312 GB, free: 59.49 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.498e-05/1.331, allocations: 38.03 kB / 0.7312 GB, free: 59.46 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/1.331, allocations: 71.94 kB / 0.7313 GB, free: 59.39 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003793/1.335, allocations: 1.399 MB / 0.7327 GB, free: 57.98 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005242/1.34, allocations: 1.396 MB / 0.734 GB, free: 56.59 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/1.355, allocations: 12.67 MB / 0.7464 GB, free: 43.66 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004653/1.359, allocations: 359.5 kB / 0.7467 GB, free: 43.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000759/1.36, allocations: 299.9 kB / 0.747 GB, free: 43.01 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005282/1.366, allocations: 3.893 MB / 0.7508 GB, free: 39.11 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00098/1.367, allocations: 488.8 kB / 0.7513 GB, free: 38.62 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.379, allocations: 8.471 MB / 0.7596 GB, free: 30.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00915/1.388, allocations: 6.228 MB / 0.7657 GB, free: 23.85 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.388, allocations: 15.94 kB / 0.7657 GB, free: 23.83 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.049e-05/1.388, allocations: 23.91 kB / 0.7657 GB, free: 23.81 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02565/1.414, allocations: 17.4 MB / 0.7827 GB, free: 6.316 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/1.414, allocations: 8.969 kB / 0.7827 GB, free: 6.309 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00326/1.417, allocations: 0.8113 MB / 0.7835 GB, free: 5.496 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/1.421, allocations: 1.29 MB / 0.7847 GB, free: 4.203 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004705/1.421, allocations: 108 kB / 0.7848 GB, free: 4.098 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/1.438, allocations: 11.56 MB / 0.7961 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.438, allocations: 11.94 kB / 0.7961 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02102/1.459, allocations: 11.21 MB / 0.8071 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002944/1.462, allocations: 1.115 MB / 0.8082 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008826/1.463, allocations: 96.05 kB / 0.8083 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/1.466, allocations: 231.8 kB / 0.8085 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008213/1.467, allocations: 331.5 kB / 0.8088 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003482/1.467, allocations: 147.9 kB / 0.809 GB, free: 10.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005264/1.472, allocations: 3.119 MB / 0.812 GB, free: 7.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.472, allocations: 0 / 0.812 GB, free: 7.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006953/1.479, allocations: 1.719 MB / 0.8137 GB, free: 6.129 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002121/1.481, allocations: 0.5399 MB / 0.8142 GB, free: 5.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01531/1.497, allocations: 7.665 MB / 0.8217 GB, free: 14.04 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.497, allocations: 7.938 kB / 0.8217 GB, free: 14.04 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008482/1.505, allocations: 3.702 MB / 0.8253 GB, free: 10.31 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006335/1.511, allocations: 1.061 MB / 0.8264 GB, free: 9.285 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2562/1.768, allocations: 18.2 MB / 0.8441 GB, free: 177.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/1.778, allocations: 6.51 MB / 0.8505 GB, free: 176.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006077/1.784, allocations: 2.12 MB / 0.8526 GB, free: 176.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.785, allocations: 399.8 kB / 0.8529 GB, free: 176.7 MB / 0.5607 GB Notification: Performance of SimCode: time 9.42e-07/1.785, allocations: 3.062 kB / 0.8529 GB, free: 176.7 MB / 0.5607 GB Notification: Performance of Templates: time 0.115/1.9, allocations: 73.73 MB / 0.9249 GB, free: 125.6 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.337907381355762]