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.001041/0.001041, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.00116/0.00116, allocations: 167.3 kB / 24.91 MB, free: 9.152 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.9903/0.9903, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2507/0.2507, allocations: 29.42 MB / 291.2 MB, free: 2.418 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.643e-06/1.643e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.574e-05, allocations: 6.094 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006285/0.006311, allocations: 4.774 MB / 321.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.008633, allocations: 1.34 MB / 323 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.008854, allocations: 23.75 kB / 323 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.009251, allocations: 127.1 kB / 323.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005326/0.009783, allocations: 377.9 kB / 323.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.009972, allocations: 147.7 kB / 323.7 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.01047, allocations: 0.7668 MB / 324.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.01066, allocations: 129.3 kB / 324.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.01123, allocations: 0.5299 MB / 325.1 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.0115, allocations: 279.1 kB / 325.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.01154, allocations: 32 kB / 325.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.01158, allocations: 32 kB / 325.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.01172, allocations: 207.4 kB / 325.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.01183, allocations: 163.6 kB / 325.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.01215, allocations: 366.6 kB / 326.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.01215, allocations: 0 / 326.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01215, allocations: 0 / 326.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.01216, allocations: 0 / 326.1 MB, free: 6.648 MB / 298.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.0009955/0.01315, allocations: 0.6764 MB / 326.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.01319, allocations: 11.98 kB / 326.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.447e-05/0.01326, allocations: 68.88 kB / 326.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.01369, allocations: 389.2 kB / 327.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.01372, allocations: 33.36 kB / 327.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.01376, allocations: 36.38 kB / 327.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.01409, allocations: 362.7 kB / 327.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.0141, allocations: 3.938 kB / 327.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.01412, allocations: 12 kB / 327.7 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.01416, allocations: 25 kB / 327.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.0143, allocations: 122.8 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.01555, allocations: 1.627 MB / 329.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.01574, allocations: 135.8 kB / 329.6 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/0.01584, allocations: 66.56 kB / 329.7 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.01586, allocations: 8 kB / 329.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.01588, allocations: 38.5 kB / 329.7 MB, free: 2.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.01589, allocations: 0 / 329.7 MB, free: 2.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003083/0.01619, allocations: 188.5 kB / 329.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.01623, allocations: 81.11 kB / 330 MB, free: 2.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.01643, allocations: 355 kB / 330.3 MB, free: 2.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.01645, allocations: 33.7 kB / 330.4 MB, free: 2.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.01655, allocations: 256.4 kB / 330.6 MB, free: 1.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.0166, allocations: 83.3 kB / 330.7 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.01666, allocations: 78.11 kB / 330.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.01675, allocations: 350.7 kB / 331.1 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.01679, allocations: 28.98 kB / 331.2 MB, free: 1.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.0169, allocations: 203.2 kB / 331.3 MB, free: 1.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.01709, allocations: 287.4 kB / 331.6 MB, free: 0.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01709, allocations: 4 kB / 331.6 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002772/0.01737, allocations: 277.2 kB / 331.9 MB, free: 432 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01738, allocations: 12.12 kB / 331.9 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.01739, allocations: 8 kB / 331.9 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.01753, allocations: 43.64 kB / 332 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01766, allocations: 83.84 kB / 332 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.01871, allocations: 1.305 MB / 333.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.0188, allocations: 47.66 kB / 333.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.01882, allocations: 16 kB / 333.4 MB, free: 14.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (43): * Single equations (assignments): 42 * 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 9.913e-05/0.01892, allocations: 144.5 kB / 333.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.01895, allocations: 19.98 kB / 333.6 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.01908, allocations: 145.1 kB / 333.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01908, allocations: 7.984 kB / 333.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.81e-07/0.01908, allocations: 0 / 333.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01909, allocations: 3.984 kB / 333.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.01944, allocations: 409.8 kB / 334.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01944, allocations: 0 / 334.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.01956, allocations: 43.97 kB / 334.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01956, allocations: 3.938 kB / 334.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01957, allocations: 11.94 kB / 334.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01957, allocations: 3.984 kB / 334.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01958, allocations: 3.938 kB / 334.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01975, allocations: 271.3 kB / 334.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.01979, allocations: 43.64 kB / 334.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01981, allocations: 8.062 kB / 334.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.01987, allocations: 8.109 kB / 334.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.01989, allocations: 19.98 kB / 334.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.0199, allocations: 0 / 334.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.024e-05/0.01998, allocations: 128.7 kB / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01998, allocations: 0 / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000226/0.0202, allocations: 107.8 kB / 334.8 MB, free: 13.39 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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 7.204e-05/0.02028, allocations: 84.36 kB / 334.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.02056, allocations: 303.8 kB / 335.1 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.02057, allocations: 4 kB / 335.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.02061, allocations: 54.27 kB / 335.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.02091, allocations: 88.81 kB / 335.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.02193, allocations: 0.7714 MB / 336.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.293e-05/0.02201, allocations: 141.2 kB / 336.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.02211, allocations: 51.38 kB / 336.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.02224, allocations: 119.3 kB / 336.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02224, allocations: 4 kB / 336.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of Templates: time 0.008088/0.03033, allocations: 3.872 MB / 340.2 MB, free: 7.93 MB / 314.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 -s gbode -gbm=radauIIA3 -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.0265024290420115]