Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001263/0.001263, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001408/0.001408, allocations: 215.7 kB / 23 MB, free: 5.609 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.464/1.464, allocations: 230.2 MB / 256.2 MB, free: 8.559 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_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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.89 kB / 376.5 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2626, allocations: 53.33 MB / 429.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.02922/0.2919, allocations: 25.05 MB / 454.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.308, allocations: 8.112 MB / 463 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004724/0.3127, allocations: 179.5 kB / 463.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01972/0.3324, allocations: 8.449 MB / 471.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009924/0.3423, allocations: 3.078 MB / 474.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005562/0.3479, allocations: 1.846 MB / 476.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01475/0.3626, allocations: 11.24 MB / 487.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02282/0.3855, allocations: 13.89 MB / 0.4899 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008908/0.3944, allocations: 5.95 MB / 0.4958 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01071/0.4051, allocations: 6.557 MB / 0.5022 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003825/0.4089, allocations: 1.715 MB / 0.5038 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005598/0.4145, allocations: 2.156 MB / 0.5059 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004577/0.4191, allocations: 3.402 MB / 0.5093 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00965/0.4287, allocations: 6.362 MB / 0.5155 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4411/0.8698, allocations: 23.19 MB / 0.5381 GB, free: 39.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.8698, allocations: 0 / 0.5381 GB, free: 39.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.8698, allocations: 0.5 kB / 0.5381 GB, free: 39.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006292/0.8704, allocations: 0 / 0.5381 GB, free: 39.98 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.03825/0.9087, allocations: 13.65 MB / 0.5514 GB, free: 36.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9087, allocations: 9.625 kB / 0.5515 GB, free: 36.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03452/0.9433, allocations: 6.247 MB / 0.5576 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.9562, allocations: 7.29 MB / 0.5647 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005299/0.9568, allocations: 0.7182 MB / 0.5654 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003492/0.9602, allocations: 0.9571 MB / 0.5663 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03492/0.9952, allocations: 16.16 MB / 0.5821 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004215/0.9956, allocations: 19.52 kB / 0.5821 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003276/0.9989, allocations: 398.9 kB / 0.5825 GB, free: 21.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004796/0.9993, allocations: 0.5591 MB / 0.583 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02767/1.027, allocations: 15.15 MB / 0.5978 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09186/1.119, allocations: 52.64 MB / 0.6492 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0224/1.141, allocations: 19.68 MB / 0.6685 GB, free: 11.16 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006178/1.147, allocations: 3.336 MB / 0.6717 GB, free: 7.824 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005618/1.148, allocations: 301.2 kB / 0.672 GB, free: 7.52 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.096e-05/1.148, allocations: 78.06 kB / 0.6721 GB, free: 7.434 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 6.913e-06/1.148, allocations: 0 / 0.6721 GB, free: 7.434 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.05474/1.203, allocations: 20.78 MB / 0.6924 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/1.203, allocations: 98.95 kB / 0.6925 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007499/1.21, allocations: 4.51 MB / 0.6969 GB, free: 14.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007781/1.211, allocations: 101.6 kB / 0.697 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003524/1.215, allocations: 4.34 MB / 0.7012 GB, free: 9.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002114/1.217, allocations: 1.607 MB / 0.7028 GB, free: 7.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00223/1.219, allocations: 1.212 MB / 0.704 GB, free: 6.746 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.219, allocations: 301.1 kB / 0.7042 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005663/1.225, allocations: 3.069 MB / 0.7072 GB, free: 3.375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008109/1.233, allocations: 5.22 MB / 0.7123 GB, free: 13.21 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01382/1.247, allocations: 8.884 MB / 0.721 GB, free: 3.645 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-05/1.247, allocations: 20 kB / 0.721 GB, free: 3.625 MB / 0.5607 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01894/1.266, allocations: 9.87 MB / 0.7307 GB, free: 10.19 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.255e-05/1.266, allocations: 32 kB / 0.7307 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/1.266, allocations: 68.34 kB / 0.7308 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/1.27, allocations: 1.414 MB / 0.7321 GB, free: 8.676 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005974/1.276, allocations: 1.387 MB / 0.7335 GB, free: 7.383 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/1.295, allocations: 12.68 MB / 0.7459 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004743/1.3, allocations: 355.5 kB / 0.7462 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.301, allocations: 296 kB / 0.7465 GB, free: 9.859 MB / 0.5919 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.008236/1.309, allocations: 3.895 MB / 0.7503 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.311, allocations: 481 kB / 0.7508 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2571/1.568, allocations: 8.469 MB / 0.759 GB, free: 225.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009105/1.577, allocations: 6.236 MB / 0.7651 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/1.577, allocations: 11.88 kB / 0.7651 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-05/1.577, allocations: 23.39 kB / 0.7652 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/1.601, allocations: 17.4 MB / 0.7822 GB, free: 217.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.601, allocations: 7.844 kB / 0.7822 GB, free: 217.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/1.604, allocations: 0.806 MB / 0.7829 GB, free: 217.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/1.607, allocations: 1.287 MB / 0.7842 GB, free: 216.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005537/1.608, allocations: 114.1 kB / 0.7843 GB, free: 216.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/1.621, allocations: 11.58 MB / 0.7956 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.621, allocations: 8 kB / 0.7956 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/1.636, allocations: 11.2 MB / 0.8066 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/1.638, allocations: 1.122 MB / 0.8077 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008184/1.639, allocations: 91.98 kB / 0.8078 GB, free: 199.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.641, allocations: 232.6 kB / 0.808 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/1.642, allocations: 329.1 kB / 0.8083 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002736/1.642, allocations: 147.9 kB / 0.8084 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003597/1.646, allocations: 3.115 MB / 0.8115 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.646, allocations: 0 / 0.8115 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005442/1.651, allocations: 1.724 MB / 0.8132 GB, free: 193.8 MB / 0.5919 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.001689/1.653, allocations: 0.5363 MB / 0.8137 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.663, allocations: 7.678 MB / 0.8212 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.663, allocations: 3.938 kB / 0.8212 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005652/1.669, allocations: 3.693 MB / 0.8248 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004701/1.674, allocations: 1.053 MB / 0.8258 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/1.699, allocations: 18.36 MB / 0.8437 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005699/1.704, allocations: 6.508 MB / 0.8501 GB, free: 156 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004838/1.709, allocations: 2.115 MB / 0.8522 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.71, allocations: 404.5 kB / 0.8526 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.363e-06/1.71, allocations: 0 / 0.8526 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1067/1.817, allocations: 75.49 MB / 0.9263 GB, free: 78.55 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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: 9.951675367541611]