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.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.001288/0.001288, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001385/0.001385, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 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 1.438/1.438, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1806/0.1806, allocations: 38.53 MB / 344.5 MB, free: 2.582 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) 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(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 0.00194/0.00194, allocations: 72.02 kB / 482.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3414, allocations: 61.24 MB / 0.5306 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005615/0.347, allocations: 4.837 MB / 0.5353 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.3492, allocations: 1.356 MB / 0.5366 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.3494, allocations: 12.66 kB / 0.5366 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.3505, allocations: 408.9 kB / 0.537 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.351, allocations: 245.1 kB / 0.5373 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.3514, allocations: 181.3 kB / 0.5374 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.3519, allocations: 0.5517 MB / 0.538 GB, free: 196 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.3523, allocations: 225.8 kB / 0.5382 GB, free: 52 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.3527, allocations: 262.2 kB / 0.5384 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.3532, allocations: 296.3 kB / 0.5387 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.3532, allocations: 31.62 kB / 0.5387 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.3535, allocations: 143.5 kB / 0.5389 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.3537, allocations: 182.1 kB / 0.5391 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.354, allocations: 224.4 kB / 0.5393 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006957/0.3547, allocations: 0.5328 MB / 0.5398 GB, free: 15.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3547, allocations: 0 / 0.5398 GB, free: 15.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3547, allocations: 5.188 kB / 0.5398 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.3547, allocations: 0 / 0.5398 GB, free: 15.04 MB / 398.1 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.00125/0.3559, allocations: 0.7254 MB / 0.5405 GB, free: 14.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.356, allocations: 9.094 kB / 0.5405 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007043/0.3567, allocations: 92.52 kB / 0.5406 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.3574, allocations: 428.2 kB / 0.541 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.3574, allocations: 26.16 kB / 0.541 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.3576, allocations: 48.34 kB / 0.5411 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.3584, allocations: 485.3 kB / 0.5415 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3584, allocations: 1 kB / 0.5415 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.3584, allocations: 11.72 kB / 0.5416 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.3585, allocations: 28.8 kB / 0.5416 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005781/0.3591, allocations: 345.6 kB / 0.5419 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.3615, allocations: 1.614 MB / 0.5435 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.3618, allocations: 176.7 kB / 0.5437 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.362, allocations: 102.5 kB / 0.5438 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.3621, allocations: 6.406 kB / 0.5438 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3621, allocations: 39.64 kB / 0.5438 GB, free: 11.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.3621, allocations: 0 / 0.5438 GB, free: 11.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001459/0.3636, allocations: 0.7934 MB / 0.5446 GB, free: 11.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.3636, allocations: 79.45 kB / 0.5446 GB, free: 11.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.364, allocations: 308.9 kB / 0.5449 GB, free: 11.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.364, allocations: 30.95 kB / 0.545 GB, free: 10.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.3642, allocations: 258.1 kB / 0.5452 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.3643, allocations: 76.28 kB / 0.5453 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3644, allocations: 58.17 kB / 0.5453 GB, free: 10.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3646, allocations: 346.6 kB / 0.5457 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.3648, allocations: 100.4 kB / 0.5458 GB, free: 10.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.365, allocations: 198 kB / 0.546 GB, free: 10.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.3655, allocations: 330.7 kB / 0.5463 GB, free: 9.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3655, allocations: 1 kB / 0.5463 GB, free: 9.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000861/0.3664, allocations: 434 kB / 0.5467 GB, free: 9.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3664, allocations: 6.969 kB / 0.5467 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005352/0.3669, allocations: 268.9 kB / 0.547 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/0.3673, allocations: 80.64 kB / 0.547 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.3675, allocations: 64.97 kB / 0.5471 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.3694, allocations: 1.709 MB / 0.5488 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.3696, allocations: 18.31 kB / 0.5488 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.3696, allocations: 10.53 kB / 0.5488 GB, free: 7.758 MB / 398.1 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.0002727/0.3699, allocations: 196.3 kB / 0.549 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.37, allocations: 37.09 kB / 0.549 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.3704, allocations: 263.6 kB / 0.5493 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3704, allocations: 2.688 kB / 0.5493 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.3704, allocations: 1.406 kB / 0.5493 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3704, allocations: 3.984 kB / 0.5493 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.3717, allocations: 0.7514 MB / 0.55 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3717, allocations: 1.5 kB / 0.55 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.372, allocations: 47.53 kB / 0.55 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.372, allocations: 1.844 kB / 0.5501 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.372, allocations: 10.66 kB / 0.5501 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.372, allocations: 3.156 kB / 0.5501 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.372, allocations: 7.922 kB / 0.5501 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006847/0.3727, allocations: 453.8 kB / 0.5505 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3728, allocations: 113.9 kB / 0.5506 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.3729, allocations: 15.17 kB / 0.5506 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.373, allocations: 7.094 kB / 0.5506 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.3731, allocations: 18.45 kB / 0.5507 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.3731, allocations: 5.688 kB / 0.5507 GB, free: 6.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002907/0.3734, allocations: 222.4 kB / 0.5509 GB, free: 6.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3734, allocations: 0 / 0.5509 GB, free: 6.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005051/0.3739, allocations: 88.5 kB / 0.551 GB, free: 6.188 MB / 398.1 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.0001621/0.3741, allocations: 103.2 kB / 0.5511 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008611/0.3749, allocations: 364 kB / 0.5514 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3749, allocations: 1.375 kB / 0.5514 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.3751, allocations: 99.45 kB / 0.5515 GB, free: 5.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.3757, allocations: 71.8 kB / 0.5516 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.3773, allocations: 0.921 MB / 0.5525 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.3778, allocations: 0.8498 MB / 0.5533 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.378, allocations: 70.22 kB / 0.5534 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.3781, allocations: 29.3 kB / 0.5534 GB, free: 4.328 MB / 398.1 MB Notification: Performance of SimCode: time 5.2e-07/0.3781, allocations: 0 / 0.5534 GB, free: 4.328 MB / 398.1 MB Notification: Performance of Templates: time 0.008658/0.3868, allocations: 3.708 MB / 0.557 GB, free: 0.7773 MB / 398.1 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: 5.028934720903635]