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.0008382/0.0008382, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002102, 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.0008218/0.0008218, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001832, 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.982/0.982, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08683/1.069, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.1322/0.1322, allocations: 29.45 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1449/0.2771, allocations: 9.521 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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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="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.703e-06/1.703e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.265e-05, allocations: 4.141 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.004354/0.004377, allocations: 4.793 MB / 289 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.00628, allocations: 1.361 MB / 290.4 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.006534, allocations: 26.75 kB / 290.4 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.006849, allocations: 126.4 kB / 290.5 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006888/0.007538, allocations: 381 kB / 290.9 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.007804, allocations: 131.6 kB / 291 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.008615, allocations: 0.7595 MB / 291.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.008818, allocations: 138.9 kB / 291.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009582/0.009776, allocations: 0.5469 MB / 292.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.01018, allocations: 277.7 kB / 292.7 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.01023, allocations: 33.16 kB / 292.8 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.099e-05/0.01031, allocations: 33.25 kB / 292.8 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.01046, allocations: 182.9 kB / 293 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.01062, allocations: 137.5 kB / 293.1 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.01101, allocations: 345.3 kB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.01103, allocations: 0 / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01103, allocations: 0 / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.01105, allocations: 0 / 293.5 MB, free: 5.344 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009863/0.01204, allocations: 0.7745 MB / 294.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.01207, allocations: 12.02 kB / 294.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.01216, allocations: 64.89 kB / 294.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.01259, allocations: 381.2 kB / 294.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.01261, allocations: 29.38 kB / 294.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.01265, allocations: 40.38 kB / 294.8 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.01298, allocations: 350.8 kB / 295.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.01299, allocations: 3.938 kB / 295.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.01301, allocations: 20 kB / 295.1 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.01305, allocations: 21 kB / 295.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.01319, allocations: 122.8 kB / 295.3 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.01454, allocations: 1.635 MB / 296.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.01473, allocations: 132.8 kB / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.608e-05/0.01483, allocations: 69.7 kB / 297.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.01485, allocations: 4 kB / 297.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.01487, allocations: 38.55 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.01487, allocations: 0 / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002932/0.01517, allocations: 189.4 kB / 297.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.0152, allocations: 85.11 kB / 297.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.0154, allocations: 347 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.01541, allocations: 29.7 kB / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.01553, allocations: 264.3 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.01558, allocations: 83.3 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.01564, allocations: 78.11 kB / 298.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.01573, allocations: 346.9 kB / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.01577, allocations: 32.98 kB / 298.6 MB, free: 212 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.01589, allocations: 207.2 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.01608, allocations: 291 kB / 299 MB, free: 15.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.01608, allocations: 4 kB / 299 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002976/0.01638, allocations: 275.4 kB / 299.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01639, allocations: 8 kB / 299.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.0164, allocations: 8 kB / 299.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.01653, allocations: 52.2 kB / 299.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.01667, allocations: 91.84 kB / 299.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007512/0.01742, allocations: 1.305 MB / 300.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.01754, allocations: 43.73 kB / 300.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.01755, allocations: 12 kB / 300.8 MB, free: 13.66 MB / 298.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.623e-05/0.01765, allocations: 140.5 kB / 301 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.01769, allocations: 32 kB / 301 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.01783, allocations: 142.6 kB / 301.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.01783, allocations: 7.938 kB / 301.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.01783, allocations: 0 / 301.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01784, allocations: 0 / 301.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.01821, allocations: 409.6 kB / 301.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01822, allocations: 0 / 301.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.01834, allocations: 44.17 kB / 301.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.01838, allocations: 47.61 kB / 301.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01839, allocations: 8 kB / 301.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.0184, allocations: 8 kB / 301.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.0184, allocations: 7.938 kB / 301.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.0184, allocations: 0 / 301.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.01858, allocations: 268.4 kB / 301.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.0186, allocations: 8 kB / 301.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.01866, allocations: 4 kB / 301.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.01868, allocations: 15.97 kB / 301.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01869, allocations: 4 kB / 302 MB, free: 12.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.619e-05/0.01878, allocations: 128.7 kB / 302.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01878, allocations: 4.031 kB / 302.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.01904, allocations: 107.8 kB / 302.2 MB, free: 12.23 MB / 298.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 8.11e-05/0.01912, allocations: 80.36 kB / 302.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.01943, allocations: 312.1 kB / 302.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/0.01944, allocations: 8 kB / 302.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.01949, allocations: 56.77 kB / 302.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.01983, allocations: 119.5 kB / 302.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/0.02507, allocations: 0.7889 MB / 303.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.688e-05/0.02517, allocations: 145.1 kB / 303.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.02529, allocations: 47.39 kB / 303.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.02542, allocations: 123.3 kB / 303.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02542, allocations: 0 / 303.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of Templates: time 0.006408/0.03183, allocations: 4.018 MB / 307.9 MB, free: 6.578 MB / 298.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 -ignoreHideResult -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: 2.809342754073441]