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.0009611/0.0009611, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0009113/0.0009113, allocations: 147.5 kB / 24.81 MB, free: 9.27 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.9725/0.9725, allocations: 173.3 MB / 201.4 MB, free: 9.223 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_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 2.435e-06/2.435e-06, allocations: 0 / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.772e-05, allocations: 2.312 kB / 268.5 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1491/0.1492, allocations: 23.31 MB / 291.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.1623, allocations: 7.713 MB / 299.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.1653, allocations: 216.4 kB / 299.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009088/0.1744, allocations: 8.668 MB / 308.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.1859, allocations: 3.102 MB / 311.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006766/0.1927, allocations: 1.805 MB / 313.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01596/0.2086, allocations: 11.6 MB / 324.9 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01624/0.2249, allocations: 14.53 MB / 339.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009682/0.2346, allocations: 9.041 MB / 348.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006305/0.2409, allocations: 6.406 MB / 354.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002351/0.2432, allocations: 1.711 MB / 356.6 MB, free: 1.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.2467, allocations: 2.128 MB / 358.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002088/0.2488, allocations: 3.515 MB / 362.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004992/0.2538, allocations: 4.261 MB / 366.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.2646, allocations: 10.85 MB / 377.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2646, allocations: 0 / 377.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2646, allocations: 0 / 377.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002698/0.2648, allocations: 0 / 377.3 MB, free: 13.15 MB / 330.7 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.01895/0.2838, allocations: 13.39 MB / 390.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.2838, allocations: 12.86 kB / 390.7 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/0.3008, allocations: 6.141 MB / 396.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009365/0.3101, allocations: 6.554 MB / 403.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004925/0.3106, allocations: 0.7185 MB / 404.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.3121, allocations: 0.9452 MB / 405.1 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.3234, allocations: 7.744 MB / 412.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/0.3236, allocations: 11.89 kB / 412.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007128/0.3243, allocations: 400 kB / 413.2 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003964/0.3247, allocations: 0.5552 MB / 413.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006135/0.3308, allocations: 3.657 MB / 417.4 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3206/0.6514, allocations: 41.14 MB / 458.6 MB, free: 74 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005444/0.6569, allocations: 5.693 MB / 464.3 MB, free: 73.61 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.6585, allocations: 1.321 MB / 465.6 MB, free: 73.55 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.6587, allocations: 147.6 kB / 465.7 MB, free: 73.52 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.6588, allocations: 83.61 kB / 465.8 MB, free: 73.47 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.182e-06/0.6588, allocations: 3.344 kB / 465.8 MB, free: 73.47 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02021/0.679, allocations: 10.66 MB / 476.5 MB, free: 72.21 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.679, allocations: 103.7 kB / 476.6 MB, free: 72.14 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/0.6826, allocations: 3.767 MB / 480.4 MB, free: 71.54 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003276/0.6829, allocations: 97.05 kB / 480.4 MB, free: 71.51 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.6847, allocations: 4.633 MB / 485.1 MB, free: 69.26 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009112/0.6856, allocations: 1.664 MB / 486.7 MB, free: 68.22 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.6868, allocations: 1.339 MB / 488.1 MB, free: 68.01 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.6868, allocations: 476.8 kB / 488.5 MB, free: 67.54 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008718/0.6877, allocations: 0.7332 MB / 489.3 MB, free: 67.36 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.6895, allocations: 3.996 MB / 493.3 MB, free: 62.8 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/0.6928, allocations: 5.366 MB / 498.6 MB, free: 57.08 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-05/0.6928, allocations: 24 kB / 498.7 MB, free: 57.06 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.006373/0.6992, allocations: 5.16 MB / 0.492 GB, free: 52.98 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.6993, allocations: 36 kB / 0.4921 GB, free: 52.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.178e-05/0.6994, allocations: 68 kB / 0.4921 GB, free: 52.88 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.7017, allocations: 1.228 MB / 0.4933 GB, free: 51.73 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.7043, allocations: 1.267 MB / 0.4946 GB, free: 50.59 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006583/0.7109, allocations: 8.382 MB / 0.5027 GB, free: 42.86 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/0.714, allocations: 223.8 kB / 0.503 GB, free: 42.64 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006111/0.7146, allocations: 244 kB / 0.5032 GB, free: 42.41 MB / 378.8 MB 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.002191/0.7168, allocations: 0.55 MB / 0.5037 GB, free: 41.94 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008908/0.7177, allocations: 0.5958 MB / 0.5043 GB, free: 41.34 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/0.7228, allocations: 5.152 MB / 0.5093 GB, free: 36.62 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002867/0.7257, allocations: 2.562 MB / 0.5118 GB, free: 34.09 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.7257, allocations: 12 kB / 0.5119 GB, free: 34.08 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.7257, allocations: 23.91 kB / 0.5119 GB, free: 34.06 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.742, allocations: 11.53 MB / 0.5231 GB, free: 23.57 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.742, allocations: 12.19 kB / 0.5231 GB, free: 23.56 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.7435, allocations: 0.6921 MB / 0.5238 GB, free: 22.91 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.7455, allocations: 1.114 MB / 0.5249 GB, free: 21.81 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002411/0.7458, allocations: 101.1 kB / 0.525 GB, free: 21.71 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005809/0.7516, allocations: 7.937 MB / 0.5328 GB, free: 13.71 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.7516, allocations: 8.766 kB / 0.5328 GB, free: 13.7 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006051/0.7576, allocations: 4.75 MB / 0.5374 GB, free: 8.906 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/0.7593, allocations: 0.8695 MB / 0.5383 GB, free: 8.039 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/0.7596, allocations: 91.98 kB / 0.5383 GB, free: 7.949 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009697/0.7606, allocations: 116 kB / 0.5384 GB, free: 7.836 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004606/0.7611, allocations: 349.7 kB / 0.5388 GB, free: 7.5 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/0.7612, allocations: 105.4 kB / 0.5389 GB, free: 7.398 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001594/0.7628, allocations: 1.676 MB / 0.5405 GB, free: 5.898 MB / 378.8 MB Notification: Performance of sort global known variables: time 6e-08/0.7628, allocations: 0 / 0.5405 GB, free: 5.898 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004439/0.7673, allocations: 1.715 MB / 0.5422 GB, free: 4.184 MB / 378.8 MB 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.00111/0.7684, allocations: 0.5411 MB / 0.5427 GB, free: 3.832 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005899/0.7743, allocations: 4.196 MB / 0.5468 GB, free: 15.89 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/0.7743, allocations: 0 / 0.5468 GB, free: 15.89 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003374/0.7777, allocations: 2.35 MB / 0.5491 GB, free: 13.66 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/0.7813, allocations: 0.9578 MB / 0.55 GB, free: 12.73 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/0.8068, allocations: 14.91 MB / 0.5646 GB, free: 13.69 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00367/0.8105, allocations: 2.746 MB / 0.5673 GB, free: 10.92 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002588/0.8131, allocations: 0.7307 MB / 0.568 GB, free: 10.19 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/0.815, allocations: 1.021 MB / 0.569 GB, free: 9.164 MB / 410.8 MB Notification: Performance of SimCode: time 1.884e-06/0.815, allocations: 0 / 0.569 GB, free: 9.164 MB / 410.8 MB Notification: Performance of Templates: time 0.2399/1.055, allocations: 70.51 MB / 0.6379 GB, free: 77.75 MB / 410.8 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.103812234010547]