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.0007519/0.0007519, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001802, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007033/0.0007033, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009224/0.001626, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9091/0.9091, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0762/0.9853, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1176/0.1176, allocations: 29.44 MB / 273.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1388/0.2564, allocations: 9.533 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.798e-05, allocations: 2.312 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005934/0.005952, allocations: 4.439 MB / 288.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.007591, allocations: 1.261 MB / 289.9 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.007724, allocations: 20.94 kB / 290 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.008272, allocations: 372.1 kB / 290.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.008565, allocations: 275 kB / 290.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.00881, allocations: 170 kB / 290.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.00919, allocations: 0.5812 MB / 291.3 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.009468, allocations: 271.2 kB / 291.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.009872, allocations: 427.7 kB / 292 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.01011, allocations: 233.3 kB / 292.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.01015, allocations: 29.88 kB / 292.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.01034, allocations: 129.8 kB / 292.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.01047, allocations: 181.5 kB / 292.6 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.01059, allocations: 132.8 kB / 292.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.01092, allocations: 372.5 kB / 293.1 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.01093, allocations: 0 / 293.1 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01093, allocations: 0 / 293.1 MB, free: 5.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.01095, allocations: 0 / 293.1 MB, free: 5.645 MB / 282.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.0006958/0.01164, allocations: 0.7295 MB / 293.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.519e-05/0.01167, allocations: 10.59 kB / 293.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.01205, allocations: 189.5 kB / 294 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.01235, allocations: 312.7 kB / 294.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.01236, allocations: 33.36 kB / 294.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.01244, allocations: 48.62 kB / 294.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.01272, allocations: 307.8 kB / 294.7 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.01273, allocations: 3.938 kB / 294.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.01276, allocations: 16 kB / 294.7 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.01281, allocations: 28.98 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.01294, allocations: 110.8 kB / 294.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.0139, allocations: 1.156 MB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.01404, allocations: 91.94 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.01409, allocations: 46.02 kB / 296.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.01411, allocations: 7.906 kB / 296.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.01413, allocations: 38.56 kB / 296.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.492e-06/0.01413, allocations: 0 / 296.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005274/0.01466, allocations: 384.9 kB / 296.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.01469, allocations: 85.05 kB / 296.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.01483, allocations: 270.9 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.01484, allocations: 29.7 kB / 296.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.01493, allocations: 232.5 kB / 297.2 MB, free: 1.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.01496, allocations: 71.38 kB / 297.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.01502, allocations: 65.61 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.0151, allocations: 342.8 kB / 297.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.01513, allocations: 31.73 kB / 297.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.01521, allocations: 124.8 kB / 297.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.01536, allocations: 205.8 kB / 298 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01536, allocations: 4 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002936/0.01565, allocations: 245 kB / 298.2 MB, free: 448 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.01566, allocations: 8.062 kB / 298.2 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/0.0158, allocations: 98.19 kB / 298.3 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.016, allocations: 63.62 kB / 298.4 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.01617, allocations: 75.89 kB / 298.5 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007249/0.01689, allocations: 1.292 MB / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.01697, allocations: 8 kB / 299.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.01698, allocations: 12 kB / 299.8 MB, free: 14.78 MB / 298.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 8.563e-05/0.01707, allocations: 136.5 kB / 299.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.0171, allocations: 28.02 kB / 299.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.01725, allocations: 148.5 kB / 300.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01725, allocations: 4.141 kB / 300.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.01725, allocations: 0 / 300.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01726, allocations: 3.984 kB / 300.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.01767, allocations: 420.1 kB / 300.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01767, allocations: 0 / 300.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.01785, allocations: 78.06 kB / 300.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.01787, allocations: 23.81 kB / 300.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01787, allocations: 0 / 300.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01789, allocations: 15.92 kB / 300.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01789, allocations: 0 / 300.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01789, allocations: 7.938 kB / 300.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.01808, allocations: 268.7 kB / 300.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.0181, allocations: 11.94 kB / 300.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.01817, allocations: 11.94 kB / 300.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.01819, allocations: 15.97 kB / 300.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.0182, allocations: 8 kB / 300.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.18e-05/0.01826, allocations: 96.62 kB / 301 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01826, allocations: 3.938 kB / 301 MB, free: 13.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.01847, allocations: 88 kB / 301.1 MB, free: 13.36 MB / 298.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 6.836e-05/0.01854, allocations: 84.41 kB / 301.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.01879, allocations: 264.9 kB / 301.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.0188, allocations: 8 kB / 301.5 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.01886, allocations: 64.64 kB / 301.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.01912, allocations: 98.91 kB / 301.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006029/0.02514, allocations: 0.7887 MB / 302.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.913e-05/0.02522, allocations: 140.5 kB / 302.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.826e-05/0.02531, allocations: 35 kB / 302.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.02543, allocations: 111.3 kB / 302.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02543, allocations: 0 / 302.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Templates: time 0.005601/0.03104, allocations: 4.011 MB / 306.7 MB, free: 7.793 MB / 298.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6270796917378902]