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.001002/0.001002, allocations: 82.64 kB / 21.42 MB, free: 3.074 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.001183/0.001183, allocations: 174.6 kB / 24.83 MB, free: 9.293 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 1.127/1.127, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2577/0.2577, allocations: 29.42 MB / 291.2 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.322e-06/1.322e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.348e-05, allocations: 5.125 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.004863/0.004886, allocations: 4.7 MB / 374.8 MB, free: 6 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.00665, allocations: 1.301 MB / 376.1 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.006907, allocations: 27.75 kB / 376.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.007313, allocations: 123.1 kB / 376.3 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006561/0.007969, allocations: 389.8 kB / 376.6 MB, free: 4.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.0082, allocations: 135.7 kB / 376.8 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006314/0.008831, allocations: 0.7707 MB / 377.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.009018, allocations: 132.7 kB / 377.7 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006696/0.009688, allocations: 0.526 MB / 378.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.01002, allocations: 307.1 kB / 378.5 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.01006, allocations: 32 kB / 378.5 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.778e-05/0.01012, allocations: 32 kB / 378.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.01026, allocations: 199.4 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.01039, allocations: 167.6 kB / 378.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.01074, allocations: 366.6 kB / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.01075, allocations: 0 / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01075, allocations: 0 / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.01075, allocations: 0 / 379.3 MB, free: 1.512 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001119/0.01187, allocations: 0.817 MB / 380.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.01191, allocations: 15.98 kB / 380.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.01201, allocations: 88.59 kB / 380.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.01243, allocations: 398.7 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.01245, allocations: 29.38 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.0125, allocations: 40.36 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.01283, allocations: 357.5 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01285, allocations: 7.938 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.01287, allocations: 19.98 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.0129, allocations: 25 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.01305, allocations: 138.7 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.01456, allocations: 2.118 MB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.01475, allocations: 166.2 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.01484, allocations: 75.39 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.01486, allocations: 4 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.01489, allocations: 45.33 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.01489, allocations: 0 / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006094/0.0155, allocations: 439.2 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.01554, allocations: 81.11 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.01578, allocations: 402.5 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.0158, allocations: 29.7 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.01596, allocations: 350.7 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.01601, allocations: 91.3 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.01608, allocations: 79.78 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.01623, allocations: 0.535 MB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.01628, allocations: 32.97 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.01644, allocations: 293.2 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.0167, allocations: 365.8 kB / 386.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.0167, allocations: 4 kB / 386.2 MB, free: 9.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006668/0.01737, allocations: 352.9 kB / 386.6 MB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01738, allocations: 4 kB / 386.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.01739, allocations: 8 kB / 386.6 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.01752, allocations: 55.53 kB / 386.7 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.01764, allocations: 67.91 kB / 386.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009083/0.01855, allocations: 1.855 MB / 388.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.01866, allocations: 11.95 kB / 388.6 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.01867, allocations: 20 kB / 388.6 MB, free: 7.449 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (44): * Single equations (assignments): 43 * 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.0001105/0.01878, allocations: 188.3 kB / 388.8 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.01882, allocations: 39.77 kB / 388.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.01897, allocations: 167.9 kB / 389 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01898, allocations: 4 kB / 389 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.01898, allocations: 0 / 389 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01898, allocations: 4.031 kB / 389 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.01943, allocations: 0.5246 MB / 389.5 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01943, allocations: 0 / 389.5 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.01954, allocations: 43.98 kB / 389.6 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01954, allocations: 0 / 389.6 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.01955, allocations: 8 kB / 389.6 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01955, allocations: 3.984 kB / 389.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01955, allocations: 7.938 kB / 389.6 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.01978, allocations: 371.2 kB / 390 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.01982, allocations: 43.7 kB / 390 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.01985, allocations: 8 kB / 390 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.01991, allocations: 0 / 390 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.01993, allocations: 23.91 kB / 390 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.01994, allocations: 7.938 kB / 390 MB, free: 5.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.02005, allocations: 247 kB / 390.3 MB, free: 5.691 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02005, allocations: 0 / 390.3 MB, free: 5.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.02033, allocations: 88 kB / 390.4 MB, free: 5.605 MB / 362.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 8.441e-05/0.02042, allocations: 99.28 kB / 390.5 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.02076, allocations: 360.5 kB / 390.8 MB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02076, allocations: 0 / 390.8 MB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.02082, allocations: 71.52 kB / 390.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.02121, allocations: 107.7 kB / 391 MB, free: 4.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.02237, allocations: 0.7672 MB / 391.8 MB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.658e-05/0.02246, allocations: 145.1 kB / 391.9 MB, free: 3.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.02258, allocations: 55.31 kB / 391.9 MB, free: 3.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.02273, allocations: 154.1 kB / 392.1 MB, free: 3.777 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/0.02273, allocations: 0 / 392.1 MB, free: 3.777 MB / 362.7 MB Notification: Performance of Templates: time 0.007537/0.03027, allocations: 3.872 MB / 396 MB, free: 15.99 MB / 378.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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3733458747155964]