Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001561/0.001561, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001485/0.001485, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.529/1.529, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3204/0.3204, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.978e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.01141/0.01144, allocations: 4.587 MB / 373.5 MB, free: 6.691 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003905/0.01535, allocations: 1.285 MB / 374.8 MB, free: 5.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.01567, allocations: 19.88 kB / 374.8 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.01761, allocations: 390.2 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009661/0.01858, allocations: 246.5 kB / 375.4 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.01942, allocations: 187.4 kB / 375.6 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.02059, allocations: 0.5643 MB / 376.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000733/0.02132, allocations: 254.1 kB / 376.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009943/0.02232, allocations: 347 kB / 376.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007601/0.02308, allocations: 259.3 kB / 377 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.02318, allocations: 32 kB / 377 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000532/0.02371, allocations: 139.6 kB / 377.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003901/0.0241, allocations: 195.5 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004088/0.02451, allocations: 151.6 kB / 377.5 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.02575, allocations: 0.5296 MB / 378 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.02576, allocations: 0 / 378 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.02576, allocations: 0 / 378 MB, free: 2.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.15e-05/0.02578, allocations: 0 / 378 MB, free: 2.121 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002084/0.02786, allocations: 0.6466 MB / 378.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.02791, allocations: 11.98 kB / 378.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/0.02887, allocations: 136.5 kB / 378.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/0.0297, allocations: 371.9 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.02974, allocations: 29.38 kB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.02989, allocations: 44.73 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008795/0.03077, allocations: 484.9 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.03079, allocations: 0 / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.03083, allocations: 19.98 kB / 379.7 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.03095, allocations: 28.92 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.03164, allocations: 351.7 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.03417, allocations: 1.406 MB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.03458, allocations: 165.1 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.03478, allocations: 105.7 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.0348, allocations: 0 / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.03484, allocations: 42.5 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.03484, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001598/0.03644, allocations: 0.7236 MB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.03652, allocations: 81.11 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.0369, allocations: 304.4 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.03693, allocations: 33.83 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.03716, allocations: 256 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.03726, allocations: 75.38 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.03737, allocations: 61.66 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.03759, allocations: 346.8 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.03777, allocations: 87.95 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.03806, allocations: 200.8 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.03861, allocations: 322.8 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.03861, allocations: 4 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009925/0.0396, allocations: 445.5 kB / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.03962, allocations: 4 kB / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006038/0.04022, allocations: 263.5 kB / 385 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004754/0.0407, allocations: 93.16 kB / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.04097, allocations: 67.83 kB / 385.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.04309, allocations: 1.593 MB / 386.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.0433, allocations: 12 kB / 386.7 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.04334, allocations: 16 kB / 386.8 MB, free: 8.914 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002682/0.04361, allocations: 201.5 kB / 387 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.498e-05/0.04369, allocations: 31.81 kB / 387 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005541/0.04425, allocations: 267.7 kB / 387.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.04425, allocations: 4 kB / 387.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.04426, allocations: 64 / 387.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.04426, allocations: 4 kB / 387.3 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.04554, allocations: 0.6362 MB / 387.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.04554, allocations: 4 kB / 387.9 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.04584, allocations: 55.91 kB / 388 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.04584, allocations: 0 / 388 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.04587, allocations: 8 kB / 388 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.04587, allocations: 0 / 388 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.04588, allocations: 8.062 kB / 388 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.04658, allocations: 461.5 kB / 388.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.04664, allocations: 27.77 kB / 388.4 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.04668, allocations: 8 kB / 388.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.04685, allocations: 12.03 kB / 388.5 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.04689, allocations: 11.97 kB / 388.5 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.04692, allocations: 11.94 kB / 388.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002643/0.04718, allocations: 207.1 kB / 388.7 MB, free: 6.902 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04718, allocations: 0 / 388.7 MB, free: 6.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004449/0.04763, allocations: 88 kB / 388.8 MB, free: 6.816 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001624/0.04779, allocations: 103.2 kB / 388.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007573/0.04855, allocations: 358.8 kB / 389.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.04855, allocations: 4 kB / 389.2 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.04873, allocations: 96.7 kB / 389.3 MB, free: 6.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.04928, allocations: 80.52 kB / 389.4 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.05098, allocations: 0.8581 MB / 390.3 MB, free: 5.273 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.05131, allocations: 241.1 kB / 390.5 MB, free: 5.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.05151, allocations: 70.91 kB / 390.6 MB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.05161, allocations: 36.42 kB / 390.6 MB, free: 4.914 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05162, allocations: 0 / 390.6 MB, free: 4.914 MB / 362.7 MB Notification: Performance of Templates: time 0.00989/0.0615, allocations: 3.497 MB / 394.1 MB, free: 1.477 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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: 4.903186851995997]