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.001833/0.001833, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001961/0.001961, allocations: 161.3 kB / 24.27 MB, free: 152 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.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3307/0.3307, allocations: 29.4 MB / 290.5 MB, free: 2.406 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.954e-06/1.954e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.562e-05/3.757e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.01042/0.01046, allocations: 4.771 MB / 373.7 MB, free: 6.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003849/0.01431, allocations: 1.332 MB / 375 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.01459, allocations: 15.88 kB / 375 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.01634, allocations: 406.2 kB / 375.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008986/0.01724, allocations: 246.5 kB / 375.6 MB, free: 4.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008575/0.0181, allocations: 187.4 kB / 375.8 MB, free: 4.336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.0192, allocations: 0.5605 MB / 376.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007141/0.01992, allocations: 262.1 kB / 376.6 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008346/0.02075, allocations: 354.9 kB / 377 MB, free: 3.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006972/0.02145, allocations: 255.3 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.851e-05/0.02155, allocations: 31.98 kB / 377.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005092/0.02206, allocations: 143.7 kB / 377.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.02238, allocations: 191.5 kB / 377.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.02271, allocations: 155.6 kB / 377.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.02386, allocations: 0.5296 MB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.02386, allocations: 0 / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.02386, allocations: 0 / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.02387, allocations: 0 / 378.3 MB, free: 1.871 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.001891/0.02577, allocations: 0.7851 MB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.02581, allocations: 15.98 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.02689, allocations: 124.5 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.02799, allocations: 370.7 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.02804, allocations: 25.38 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.02825, allocations: 52.66 kB / 379.6 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.02926, allocations: 378 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.02929, allocations: 0 / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.428e-05/0.02935, allocations: 16 kB / 380 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.02951, allocations: 28.92 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.03022, allocations: 191.8 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/0.03408, allocations: 1.664 MB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.03456, allocations: 134.2 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.03479, allocations: 83.34 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.03482, allocations: 4 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.03487, allocations: 37.39 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 4.869e-06/0.03487, allocations: 3.984 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001927/0.0368, allocations: 0.5912 MB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.03689, allocations: 81.11 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/0.03752, allocations: 390.2 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.03757, allocations: 29.7 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.03794, allocations: 318.8 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.03807, allocations: 83.38 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.03826, allocations: 75.34 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004343/0.0387, allocations: 0.5274 MB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.03889, allocations: 47.97 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.03929, allocations: 207.2 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.03998, allocations: 293.2 kB / 384.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.03999, allocations: 0 / 384.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001221/0.04121, allocations: 340.4 kB / 385.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.04123, allocations: 4 kB / 385.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006897/0.04192, allocations: 170.4 kB / 385.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.04254, allocations: 76 kB / 385.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.04295, allocations: 63.89 kB / 385.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.04577, allocations: 1.877 MB / 387.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.04607, allocations: 8 kB / 387.3 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.04611, allocations: 16 kB / 387.3 MB, free: 8.258 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.0003027/0.04642, allocations: 196.4 kB / 387.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.04655, allocations: 31.81 kB / 387.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006423/0.04719, allocations: 207.8 kB / 387.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.0472, allocations: 7.984 kB / 387.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.0472, allocations: 0 / 387.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.04721, allocations: 0 / 387.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.04908, allocations: 0.6801 MB / 388.4 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.04908, allocations: 4 kB / 388.4 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.04954, allocations: 47.97 kB / 388.5 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.04955, allocations: 0 / 388.5 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.04959, allocations: 11.98 kB / 388.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.04959, allocations: 0 / 388.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.04959, allocations: 7.938 kB / 388.5 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/0.05049, allocations: 426.5 kB / 388.9 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/0.05059, allocations: 35.8 kB / 388.9 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.05065, allocations: 8 kB / 389 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.05091, allocations: 4 kB / 389 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.05099, allocations: 19.97 kB / 389 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.05102, allocations: 7.938 kB / 389 MB, free: 6.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004115/0.05143, allocations: 255 kB / 389.2 MB, free: 6.242 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.05143, allocations: 3.938 kB / 389.2 MB, free: 6.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000727/0.05215, allocations: 84 kB / 389.3 MB, free: 6.156 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.000194/0.05235, allocations: 103.2 kB / 389.4 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009965/0.05335, allocations: 377.9 kB / 389.8 MB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.05335, allocations: 0 / 389.8 MB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.05359, allocations: 84.53 kB / 389.9 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.0544, allocations: 76.89 kB / 389.9 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.05658, allocations: 0.7898 MB / 390.7 MB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.05701, allocations: 233 kB / 391 MB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003351/0.05735, allocations: 66.91 kB / 391 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.05745, allocations: 24.5 kB / 391.1 MB, free: 4.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.05745, allocations: 0 / 391.1 MB, free: 4.32 MB / 362.7 MB Notification: Performance of Templates: time 0.00969/0.06714, allocations: 3.526 MB / 394.6 MB, free: 0.8516 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 240] 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.910147360991687]