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_withLosses.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.00174/0.00174, allocations: 81.11 kB / 20.49 MB, free: 1.211 MB / 14.72 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.001864/0.001864, allocations: 142 kB / 23.72 MB, free: 4.25 MB / 14.72 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 1.399/1.399, allocations: 173.4 MB / 200.3 MB, free: 12.94 MB / 190.1 MB " [Timeout remaining time 178] 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_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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 46.52 kB / 318.7 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.09007, allocations: 52.17 MB / 370.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02713/0.1172, allocations: 21.42 MB / 392.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.1342, allocations: 7.533 MB / 399.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004511/0.1387, allocations: 214.9 kB / 400 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02064/0.1593, allocations: 8.231 MB / 408.3 MB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009878/0.1692, allocations: 3.031 MB / 411.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005514/0.1747, allocations: 1.818 MB / 413.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01524/0.19, allocations: 11.22 MB / 424.4 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02735/0.2173, allocations: 14.47 MB / 438.8 MB, free: 3.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01775/0.2351, allocations: 9.15 MB / 448 MB, free: 10.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01172/0.2468, allocations: 6.221 MB / 454.2 MB, free: 3.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004568/0.2513, allocations: 1.715 MB / 455.9 MB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007074/0.2584, allocations: 2.113 MB / 458 MB, free: 36 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005983/0.2644, allocations: 3.402 MB / 461.4 MB, free: 12.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01098/0.2754, allocations: 4.907 MB / 466.3 MB, free: 7.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2234/0.4987, allocations: 23.25 MB / 489.6 MB, free: 42.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4987, allocations: 2.297 kB / 489.6 MB, free: 42.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4988, allocations: 0 / 489.6 MB, free: 42.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006702/0.4994, allocations: 3.469 kB / 489.6 MB, free: 42.31 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04627/0.5457, allocations: 13.53 MB / 0.4913 GB, free: 36.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5457, allocations: 9.578 kB / 0.4913 GB, free: 36.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03492/0.5807, allocations: 6.328 MB / 0.4975 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/0.5966, allocations: 7.35 MB / 0.5047 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005956/0.5972, allocations: 0.7149 MB / 0.5054 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00509/0.6023, allocations: 0.9438 MB / 0.5063 GB, free: 28.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03667/0.639, allocations: 16.28 MB / 0.5222 GB, free: 16.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004837/0.6395, allocations: 11.95 kB / 0.5222 GB, free: 16.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00427/0.6437, allocations: 405.1 kB / 0.5226 GB, free: 16.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004972/0.6442, allocations: 0.5667 MB / 0.5232 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02901/0.6732, allocations: 15.03 MB / 0.5378 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09749/0.7707, allocations: 45.36 MB / 0.5821 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/0.7883, allocations: 8.505 MB / 0.5904 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006418/0.7947, allocations: 3.323 MB / 0.5937 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000397/0.7951, allocations: 95.44 kB / 0.5938 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.461e-05/0.7952, allocations: 78.06 kB / 0.5938 GB, free: 7.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=447): time 7.925e-06/0.7952, allocations: 3.656 kB / 0.5939 GB, free: 7.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=452): time 0.05206/0.8473, allocations: 20.28 MB / 0.6137 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.8474, allocations: 98.95 kB / 0.6138 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007136/0.8545, allocations: 4.399 MB / 0.618 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008388/0.8553, allocations: 97.7 kB / 0.6181 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004503/0.8598, allocations: 4.337 MB / 0.6224 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002441/0.8623, allocations: 1.606 MB / 0.6239 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002248/0.8645, allocations: 1.192 MB / 0.6251 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8647, allocations: 313.1 kB / 0.6254 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005315/0.87, allocations: 3.06 MB / 0.6284 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007237/0.8772, allocations: 5.228 MB / 0.6335 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/0.8908, allocations: 8.856 MB / 0.6421 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.086e-05/0.8909, allocations: 20 kB / 0.6422 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02044/0.9113, allocations: 9.79 MB / 0.6517 GB, free: 11.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.9114, allocations: 36 kB / 0.6518 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/0.9115, allocations: 73.84 kB / 0.6518 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003875/0.9154, allocations: 1.366 MB / 0.6532 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005878/0.9213, allocations: 1.389 MB / 0.6545 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2782/1.2, allocations: 12.04 MB / 0.6663 GB, free: 181 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005657/1.205, allocations: 358.2 kB / 0.6666 GB, free: 181 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.207, allocations: 294.8 kB / 0.6669 GB, free: 181 MB / 0.545 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.008402/1.215, allocations: 3.884 MB / 0.6707 GB, free: 180.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.216, allocations: 467.7 kB / 0.6711 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.229, allocations: 8.417 MB / 0.6794 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008584/1.237, allocations: 6.175 MB / 0.6854 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/1.237, allocations: 16.23 kB / 0.6854 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/1.237, allocations: 25.73 kB / 0.6854 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02299/1.26, allocations: 14.92 MB / 0.7 GB, free: 168.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/1.26, allocations: 15.73 kB / 0.7 GB, free: 168.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002963/1.263, allocations: 0.7963 MB / 0.7008 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002922/1.266, allocations: 1.255 MB / 0.702 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002878/1.267, allocations: 110 kB / 0.7021 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/1.279, allocations: 10.97 MB / 0.7128 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.279, allocations: 11.94 kB / 0.7128 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.294, allocations: 11.12 MB / 0.7237 GB, free: 146.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/1.297, allocations: 1.028 MB / 0.7247 GB, free: 146.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000655/1.297, allocations: 90.59 kB / 0.7248 GB, free: 146 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/1.299, allocations: 231.8 kB / 0.725 GB, free: 145.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006478/1.3, allocations: 347.2 kB / 0.7254 GB, free: 145.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.3, allocations: 138.5 kB / 0.7255 GB, free: 145.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003408/1.304, allocations: 2.946 MB / 0.7284 GB, free: 142.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.304, allocations: 0 / 0.7284 GB, free: 142.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005111/1.309, allocations: 1.718 MB / 0.73 GB, free: 140.6 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.001701/1.311, allocations: 0.5591 MB / 0.7306 GB, free: 140.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.321, allocations: 7.649 MB / 0.7381 GB, free: 132.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.321, allocations: 0 / 0.7381 GB, free: 132.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005374/1.326, allocations: 3.676 MB / 0.7416 GB, free: 128.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004398/1.331, allocations: 0.9425 MB / 0.7426 GB, free: 128 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02552/1.356, allocations: 18.38 MB / 0.7605 GB, free: 109.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00556/1.362, allocations: 6.058 MB / 0.7664 GB, free: 103.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004984/1.367, allocations: 2.094 MB / 0.7685 GB, free: 101.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.368, allocations: 372.4 kB / 0.7688 GB, free: 101 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/1.368, allocations: 0 / 0.7688 GB, free: 101 MB / 0.545 GB Notification: Performance of Templates: time 0.09625/1.464, allocations: 65.91 MB / 0.8332 GB, free: 35.76 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.839172510430217]