Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.001044/0.001044, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001191/0.001191, allocations: 164 kB / 24.99 MB, free: 8.355 MB / 18.57 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2346/0.2346, allocations: 29.41 MB / 291.2 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.[0-9,]+..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.[0-9,]+..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.426e-05, allocations: 9.969 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005041/0.005065, allocations: 5.374 MB / 375 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004434/0.009499, allocations: 3.809 MB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.009791, allocations: 23.75 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006664/0.01646, allocations: 5.438 MB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.01708, allocations: 334.1 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.01752, allocations: 227.5 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.01893, allocations: 1.664 MB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005448/0.01947, allocations: 0.5419 MB / 387 MB, free: 9.844 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004519/0.01993, allocations: 0.4949 MB / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.02038, allocations: 398.9 kB / 387.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.02044, allocations: 56 kB / 388 MB, free: 8.902 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.02057, allocations: 75.86 kB / 388 MB, free: 8.828 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.02076, allocations: 271.3 kB / 388.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.02094, allocations: 223.5 kB / 388.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.02151, allocations: 0.5061 MB / 389 MB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.02152, allocations: 4 kB / 389 MB, free: 7.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.02152, allocations: 0 / 389 MB, free: 7.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.02153, allocations: 0 / 389 MB, free: 7.832 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001094/0.02262, allocations: 0.9139 MB / 389.9 MB, free: 6.879 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.02266, allocations: 15.98 kB / 390 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/0.02294, allocations: 104.5 kB / 390.1 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006697/0.02361, allocations: 0.5058 MB / 390.6 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.02364, allocations: 45.3 kB / 390.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.0237, allocations: 51.88 kB / 390.7 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009767/0.02468, allocations: 453.2 kB / 391.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.0247, allocations: 0 / 391.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.02474, allocations: 20 kB / 391.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.833e-05/0.02484, allocations: 48.97 kB / 391.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.02518, allocations: 209.7 kB / 391.4 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.02712, allocations: 2.511 MB / 393.9 MB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.02742, allocations: 194 kB / 394.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.02753, allocations: 71.41 kB / 394.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.02755, allocations: 8 kB / 394.2 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.02759, allocations: 37.39 kB / 394.2 MB, free: 2.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.02759, allocations: 0 / 394.2 MB, free: 2.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001668/0.02926, allocations: 0.9403 MB / 395.1 MB, free: 1.395 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.0293, allocations: 85.05 kB / 395.2 MB, free: 1.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.0296, allocations: 414.6 kB / 395.6 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.02962, allocations: 29.7 kB / 395.7 MB, free: 0.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.02979, allocations: 362.9 kB / 396 MB, free: 484 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.02986, allocations: 123 kB / 396.1 MB, free: 360 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.02995, allocations: 83.8 kB / 396.2 MB, free: 268 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.03011, allocations: 0.5313 MB / 396.7 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.0302, allocations: 52.95 kB / 396.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.03039, allocations: 262.4 kB / 397 MB, free: 15.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.0307, allocations: 357.1 kB / 397.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.03071, allocations: 11.88 kB / 397.4 MB, free: 14.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005784/0.03128, allocations: 452.5 kB / 397.8 MB, free: 14.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.0313, allocations: 4 kB / 397.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.03131, allocations: 8 kB / 397.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.03191, allocations: 131.5 kB / 398 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.03211, allocations: 75.84 kB / 398.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.03409, allocations: 3.816 MB / 401.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.03426, allocations: 16 kB / 401.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.03428, allocations: 20 kB / 401.9 MB, free: 10.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.03445, allocations: 196.4 kB / 402.1 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.03451, allocations: 55.84 kB / 402.2 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.03502, allocations: 341.3 kB / 402.5 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.03502, allocations: 4 kB / 402.5 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003623/0.03538, allocations: 277.6 kB / 402.8 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.03539, allocations: 0 / 402.8 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008777/0.03626, allocations: 0.789 MB / 403.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.03627, allocations: 0 / 403.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.0364, allocations: 43.91 kB / 403.6 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.03658, allocations: 71.84 kB / 403.7 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.0366, allocations: 8 kB / 403.7 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.03799, allocations: 2.014 MB / 405.7 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.03799, allocations: 0 / 405.7 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.03852, allocations: 0.5012 MB / 406.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.03862, allocations: 55.69 kB / 406.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.03865, allocations: 8 kB / 406.3 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.03875, allocations: 8 kB / 406.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.0388, allocations: 27.89 kB / 406.3 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.03882, allocations: 12 kB / 406.3 MB, free: 5.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002548/0.03908, allocations: 267.1 kB / 406.6 MB, free: 5.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03908, allocations: 0 / 406.6 MB, free: 5.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005181/0.0396, allocations: 124 kB / 406.7 MB, free: 5.055 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.03975, allocations: 107.2 kB / 406.8 MB, free: 4.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008247/0.04057, allocations: 0.6094 MB / 407.4 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.04057, allocations: 3.938 kB / 407.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.04084, allocations: 313.2 kB / 407.7 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.04129, allocations: 90.22 kB / 407.8 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.04319, allocations: 1.008 MB / 408.8 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.04332, allocations: 165.2 kB / 409 MB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.04348, allocations: 63.41 kB / 409 MB, free: 2.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.04355, allocations: 32.5 kB / 409.1 MB, free: 2.539 MB / 378.7 MB Notification: Performance of SimCode: time 1.432e-06/0.04355, allocations: 0 / 409.1 MB, free: 2.539 MB / 378.7 MB Notification: Performance of Templates: time 0.008354/0.0519, allocations: 5.265 MB / 414.3 MB, free: 13.38 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.278465972049162]