Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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.0007797/0.0007797, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001853, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007045/0.0007045, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008907/0.001595, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.931/0.931, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08937/1.02, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1387/0.1387, allocations: 29.44 MB / 273.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1179/0.2566, allocations: 9.535 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo) 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(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="asm.motor.slip|power.p.[0-9,]+.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="asm.motor.slip|power.p.[0-9,]+.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.559e-05, allocations: 4.359 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01665/0.01666, allocations: 6.811 MB / 291.3 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.03024, allocations: 5.164 MB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003566/0.03381, allocations: 37.38 kB / 296.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006651/0.04046, allocations: 6.001 MB / 302.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000826/0.04128, allocations: 0.5864 MB / 303.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000789/0.04207, allocations: 0.5064 MB / 303.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.04395, allocations: 2.355 MB / 305.9 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006233/0.04457, allocations: 0.8632 MB / 306.8 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007075/0.04528, allocations: 0.9237 MB / 307.7 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.04581, allocations: 0.6584 MB / 308.4 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.494e-05/0.04591, allocations: 100 kB / 308.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.0463, allocations: 323.4 kB / 308.8 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.04657, allocations: 474.9 kB / 309.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.04683, allocations: 331.3 kB / 309.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008613/0.04769, allocations: 1.016 MB / 310.6 MB, free: 4.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.0477, allocations: 7.984 kB / 310.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0477, allocations: 0 / 310.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.04771, allocations: 0 / 310.6 MB, free: 4.516 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.00151/0.04922, allocations: 1.565 MB / 312.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.04925, allocations: 8.031 kB / 312.2 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007773/0.05003, allocations: 277.8 kB / 312.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/0.05082, allocations: 0.7098 MB / 313.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.05085, allocations: 62 kB / 313.2 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.942e-05/0.05095, allocations: 87.94 kB / 313.3 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.05163, allocations: 0.7708 MB / 314.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.05165, allocations: 7.938 kB / 314.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.0517, allocations: 35.98 kB / 314.1 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.05181, allocations: 81.94 kB / 314.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.05221, allocations: 340.4 kB / 314.5 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.05501, allocations: 3.653 MB / 318.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.05535, allocations: 329 kB / 318.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.0555, allocations: 123.2 kB / 318.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.05554, allocations: 20.48 kB / 318.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.05581, allocations: 275.5 kB / 318.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.593e-06/0.05581, allocations: 0 / 318.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.001966/0.05778, allocations: 1.126 MB / 320 MB, free: 10.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.05781, allocations: 85.77 kB / 320.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.05823, allocations: 0.6339 MB / 320.7 MB, free: 9.914 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.05827, allocations: 37.7 kB / 320.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.05844, allocations: 441.1 kB / 321.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.05856, allocations: 245.9 kB / 321.4 MB, free: 9.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.05871, allocations: 182.4 kB / 321.6 MB, free: 9.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.05882, allocations: 402.6 kB / 322 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.05896, allocations: 112.8 kB / 322.1 MB, free: 8.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.05921, allocations: 415.3 kB / 322.5 MB, free: 7.949 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.05968, allocations: 0.6136 MB / 323.1 MB, free: 7.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.05968, allocations: 4 kB / 323.1 MB, free: 7.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001013/0.06069, allocations: 0.7878 MB / 323.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.06071, allocations: 16.03 kB / 324 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.06072, allocations: 8 kB / 324 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008147/0.06154, allocations: 414.7 kB / 324.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.06189, allocations: 183.7 kB / 324.5 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/0.06563, allocations: 4.192 MB / 328.7 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.06587, allocations: 35.95 kB / 328.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.06592, allocations: 39.98 kB / 328.8 MB, free: 1.332 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.06609, allocations: 172.3 kB / 329 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.06617, allocations: 71.86 kB / 329 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/0.06676, allocations: 0.4931 MB / 329.5 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.06677, allocations: 4 kB / 329.5 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.06677, allocations: 4 kB / 329.6 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.06678, allocations: 7.984 kB / 329.6 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.06794, allocations: 1.031 MB / 330.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.06795, allocations: 4 kB / 330.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.06836, allocations: 147.8 kB / 330.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.06848, allocations: 111.3 kB / 330.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.06871, allocations: 127 kB / 331 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.06874, allocations: 23.98 kB / 331 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.07069, allocations: 3.793 MB / 334.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.07069, allocations: 3.938 kB / 334.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000733/0.07142, allocations: 0.7409 MB / 335.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.07148, allocations: 20 kB / 335.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.07166, allocations: 19.98 kB / 335.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.07174, allocations: 56.34 kB / 335.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.07176, allocations: 19.98 kB / 335.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.07195, allocations: 264.5 kB / 335.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07195, allocations: 0 / 335.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005323/0.07248, allocations: 279.9 kB / 336.2 MB, free: 9.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.07369, allocations: 0.6495 MB / 336.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000909/0.0746, allocations: 0.8829 MB / 337.7 MB, free: 8.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.9e-05/0.07462, allocations: 16.44 kB / 337.7 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.07512, allocations: 0.6312 MB / 338.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.07601, allocations: 1.59 MB / 339.9 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.08685, allocations: 1.917 MB / 341.9 MB, free: 3.789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.08706, allocations: 276.7 kB / 342.1 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002769/0.08734, allocations: 123.1 kB / 342.3 MB, free: 3.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.08764, allocations: 221.2 kB / 342.5 MB, free: 3.156 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.08764, allocations: 0 / 342.5 MB, free: 3.156 MB / 330.7 MB Notification: Performance of Templates: time 0.01702/0.1047, allocations: 15.28 MB / 357.8 MB, free: 4.078 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3069046270102262]