Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.0008035/0.0008035, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.002926/0.002926, allocations: 161 kB / 24.7 MB, free: 9.41 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 0.8361/0.8361, allocations: 177.1 MB / 205 MB, free: 5.742 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.2013/0.2013, allocations: 29.41 MB / 290.8 MB, free: 2.453 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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 431.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.925e-05, allocations: 2.281 kB / 431.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006603/0.006633, allocations: 5.266 MB / 436.7 MB, free: 7.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.009142, allocations: 1.266 MB / 438 MB, free: 6.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.009502, allocations: 27.75 kB / 438 MB, free: 6.543 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.01004, allocations: 130.9 kB / 438.2 MB, free: 6.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.01109, allocations: 397.8 kB / 438.5 MB, free: 6.023 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.01143, allocations: 139.7 kB / 438.7 MB, free: 5.887 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008402/0.01227, allocations: 0.7668 MB / 439.4 MB, free: 5.117 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.01253, allocations: 136.6 kB / 439.6 MB, free: 4.977 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007341/0.01326, allocations: 462.5 kB / 440 MB, free: 4.523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005804/0.01384, allocations: 363 kB / 440.4 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.0139, allocations: 36 kB / 440.4 MB, free: 4.133 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.01398, allocations: 36 kB / 440.5 MB, free: 4.098 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.01413, allocations: 203.4 kB / 440.7 MB, free: 3.898 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.01427, allocations: 175.6 kB / 440.8 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.01474, allocations: 0.5256 MB / 441.3 MB, free: 3.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.01474, allocations: 0 / 441.3 MB, free: 3.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01475, allocations: 0 / 441.3 MB, free: 3.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.01475, allocations: 0 / 441.3 MB, free: 3.199 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009807/0.01574, allocations: 0.7367 MB / 442.1 MB, free: 2.426 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.01578, allocations: 15.98 kB / 442.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.01586, allocations: 52.61 kB / 442.2 MB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.01644, allocations: 420.7 kB / 442.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.01646, allocations: 29.38 kB / 442.6 MB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.01651, allocations: 44.38 kB / 442.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.01706, allocations: 0.5 MB / 443.1 MB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.01707, allocations: 0 / 443.1 MB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.0171, allocations: 16 kB / 443.2 MB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.01713, allocations: 24.98 kB / 443.2 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.0175, allocations: 359.7 kB / 443.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1629/0.1804, allocations: 1.845 MB / 445.4 MB, free: 53.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.1807, allocations: 221.2 kB / 445.6 MB, free: 53.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1809, allocations: 117.1 kB / 445.7 MB, free: 53.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1809, allocations: 3.188 kB / 445.7 MB, free: 53.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.1809, allocations: 44.34 kB / 445.7 MB, free: 53.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.465e-06/0.1809, allocations: 0 / 445.7 MB, free: 53.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008065/0.1817, allocations: 0.6954 MB / 446.4 MB, free: 53.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1817, allocations: 85.48 kB / 446.5 MB, free: 53.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1819, allocations: 384.7 kB / 446.9 MB, free: 53.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.1819, allocations: 32.77 kB / 446.9 MB, free: 53.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.182, allocations: 293.7 kB / 447.2 MB, free: 52.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1821, allocations: 83.73 kB / 447.3 MB, free: 52.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.1821, allocations: 77.48 kB / 447.4 MB, free: 52.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.1822, allocations: 350 kB / 447.7 MB, free: 52.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.11e-05/0.1822, allocations: 90.05 kB / 447.8 MB, free: 52.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1823, allocations: 280 kB / 448.1 MB, free: 52.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1826, allocations: 402.4 kB / 448.5 MB, free: 51.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1826, allocations: 3.094 kB / 448.5 MB, free: 51.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003818/0.183, allocations: 459.2 kB / 448.9 MB, free: 51.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.183, allocations: 9.25 kB / 448.9 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.183, allocations: 6.219 kB / 448.9 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.1831, allocations: 53.28 kB / 449 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1833, allocations: 80.38 kB / 449.1 MB, free: 51.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006454/0.1839, allocations: 1.481 MB / 450.6 MB, free: 50.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.184, allocations: 17.66 kB / 450.6 MB, free: 50.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.184, allocations: 19.77 kB / 450.6 MB, free: 50.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.1841, allocations: 202.9 kB / 450.8 MB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1842, allocations: 52.95 kB / 450.8 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.1844, allocations: 238.4 kB / 451.1 MB, free: 49.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1844, allocations: 3.125 kB / 451.1 MB, free: 49.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1844, allocations: 1.75 kB / 451.1 MB, free: 49.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1844, allocations: 0 / 451.1 MB, free: 49.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.1848, allocations: 0.5996 MB / 451.7 MB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1848, allocations: 2.219 kB / 451.7 MB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1849, allocations: 45.16 kB / 451.7 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1849, allocations: 3.219 kB / 451.7 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.1849, allocations: 7.125 kB / 451.7 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1849, allocations: 0 / 451.7 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1849, allocations: 5.438 kB / 451.7 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1852, allocations: 428 kB / 452.2 MB, free: 49.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.1852, allocations: 40.11 kB / 452.2 MB, free: 49.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1852, allocations: 7.281 kB / 452.2 MB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.1853, allocations: 10.66 kB / 452.2 MB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.1853, allocations: 19.03 kB / 452.2 MB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.1853, allocations: 10.59 kB / 452.2 MB, free: 49.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1854, allocations: 247.1 kB / 452.5 MB, free: 49.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1854, allocations: 3.125 kB / 452.5 MB, free: 49.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000265/0.1857, allocations: 86.69 kB / 452.6 MB, free: 49.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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 7.454e-05/0.1858, allocations: 104 kB / 452.7 MB, free: 49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003886/0.1862, allocations: 381.4 kB / 453 MB, free: 48.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1862, allocations: 0 / 453 MB, free: 48.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.1862, allocations: 81.14 kB / 453.1 MB, free: 48.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.1866, allocations: 99.94 kB / 453.2 MB, free: 48.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.1874, allocations: 0.8492 MB / 454.1 MB, free: 48.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.1875, allocations: 249.5 kB / 454.3 MB, free: 48.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.1876, allocations: 33.94 kB / 454.3 MB, free: 48.15 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1876, allocations: 0 / 454.3 MB, free: 48.15 MB / 410.7 MB Notification: Performance of Templates: time 0.004527/0.1921, allocations: 6.166 MB / 460.5 MB, free: 47.65 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.9291530810296535]