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.0009724/0.0009724, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001125/0.001125, allocations: 165 kB / 24.82 MB, free: 8.879 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2876/0.2876, allocations: 29.42 MB / 291.2 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.994e-06/1.994e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.12e-05, allocations: 2.312 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.008165/0.008196, allocations: 5.159 MB / 375.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004508/0.0127, allocations: 3.762 MB / 379 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.01309, allocations: 23.81 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007302/0.02039, allocations: 5.477 MB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008258/0.02122, allocations: 338.1 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.02175, allocations: 227.5 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.02343, allocations: 1.668 MB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.02446, allocations: 0.5341 MB / 387.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005509/0.02501, allocations: 0.5221 MB / 387.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.02545, allocations: 394.8 kB / 388.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.494e-05/0.02552, allocations: 56 kB / 388.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.02565, allocations: 64 kB / 388.3 MB, free: 8.441 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.02584, allocations: 263.3 kB / 388.6 MB, free: 8.184 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.02604, allocations: 219.5 kB / 388.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.02664, allocations: 0.5022 MB / 389.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.02665, allocations: 0 / 389.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02665, allocations: 4 kB / 389.3 MB, free: 7.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.02666, allocations: 0 / 389.3 MB, free: 7.461 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.001148/0.02781, allocations: 0.9099 MB / 390.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.02786, allocations: 11.98 kB / 390.2 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.02818, allocations: 112.5 kB / 390.3 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/0.02888, allocations: 0.4979 MB / 390.8 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.02891, allocations: 29.38 kB / 390.8 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.02897, allocations: 51.92 kB / 390.9 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.02942, allocations: 417.1 kB / 391.3 MB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.02945, allocations: 7.891 kB / 391.3 MB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.02948, allocations: 23.98 kB / 391.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.5e-05/0.02957, allocations: 48.97 kB / 391.4 MB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.0298, allocations: 158.7 kB / 391.5 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.03219, allocations: 2.426 MB / 394 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.03242, allocations: 174.1 kB / 394.1 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.0325, allocations: 67.41 kB / 394.2 MB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.03252, allocations: 4 kB / 394.2 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.03255, allocations: 41.39 kB / 394.2 MB, free: 2.219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.03255, allocations: 0 / 394.2 MB, free: 2.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001411/0.03396, allocations: 0.7541 MB / 395 MB, free: 1.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.03401, allocations: 81.11 kB / 395.1 MB, free: 1.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.03427, allocations: 414.3 kB / 395.5 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.03429, allocations: 29.7 kB / 395.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.03448, allocations: 366.7 kB / 395.9 MB, free: 0.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.03455, allocations: 122.9 kB / 396 MB, free: 388 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.03464, allocations: 87.77 kB / 396.1 MB, free: 292 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.03483, allocations: 0.5352 MB / 396.6 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.03489, allocations: 48.98 kB / 396.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.03506, allocations: 250.3 kB / 396.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.03532, allocations: 329.1 kB / 397.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.03532, allocations: 0 / 397.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005531/0.03588, allocations: 424.6 kB / 397.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.0359, allocations: 4 kB / 397.6 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.03591, allocations: 4 kB / 397.6 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.0362, allocations: 119.2 kB / 397.8 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.03639, allocations: 80.06 kB / 397.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.03923, allocations: 3.759 MB / 401.6 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.03937, allocations: 12 kB / 401.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.0394, allocations: 19.98 kB / 401.6 MB, free: 10.28 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.0001682/0.03957, allocations: 184.4 kB / 401.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.03963, allocations: 59.64 kB / 401.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.04008, allocations: 321.3 kB / 402.2 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.04008, allocations: 8 kB / 402.2 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003131/0.0404, allocations: 258.4 kB / 402.4 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.04041, allocations: 7.922 kB / 402.5 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/0.04123, allocations: 0.6647 MB / 403.1 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.04123, allocations: 0 / 403.1 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.04134, allocations: 44.05 kB / 403.2 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/0.04151, allocations: 71.59 kB / 403.2 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.04152, allocations: 8 kB / 403.2 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.04265, allocations: 1.975 MB / 405.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.04265, allocations: 4 kB / 405.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.04307, allocations: 477.2 kB / 405.7 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.04315, allocations: 71.62 kB / 405.8 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.04317, allocations: 4 kB / 405.8 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.04326, allocations: 8 kB / 405.8 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.0433, allocations: 23.95 kB / 405.8 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.04331, allocations: 8 kB / 405.8 MB, free: 5.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.04345, allocations: 262.9 kB / 406.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04345, allocations: 0 / 406.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003764/0.04383, allocations: 116 kB / 406.2 MB, free: 5.5 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.000124/0.04395, allocations: 99.25 kB / 406.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005908/0.04454, allocations: 0.5939 MB / 406.9 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.04455, allocations: 0 / 406.9 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.04481, allocations: 305.5 kB / 407.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.04525, allocations: 96.98 kB / 407.3 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.04763, allocations: 0.9994 MB / 408.3 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.0478, allocations: 173.2 kB / 408.4 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.04796, allocations: 51.38 kB / 408.5 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.04815, allocations: 142.2 kB / 408.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.04815, allocations: 0 / 408.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of Templates: time 0.008641/0.05679, allocations: 5.55 MB / 414.2 MB, free: 13.48 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.573120511136949]