Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001863/0.001863, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00217/0.00217, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 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.547/1.547, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3056/0.3056, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.979e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.006714/0.006743, allocations: 4.011 MB / 372.9 MB, free: 7.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.008477, allocations: 0.8649 MB / 373.8 MB, free: 6.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.008631, allocations: 23.81 kB / 373.8 MB, free: 6.379 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.008821, allocations: 39.62 kB / 373.8 MB, free: 6.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005605/0.009381, allocations: 182.9 kB / 374 MB, free: 6.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.009595, allocations: 79.77 kB / 374.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.0101, allocations: 382.5 kB / 374.5 MB, free: 5.707 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.01029, allocations: 60.72 kB / 374.5 MB, free: 5.652 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004316/0.01072, allocations: 235.2 kB / 374.7 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.01105, allocations: 155.6 kB / 374.9 MB, free: 5.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.0111, allocations: 16 kB / 374.9 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.01116, allocations: 20 kB / 374.9 MB, free: 5.234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.01129, allocations: 87.72 kB / 375 MB, free: 5.148 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.01143, allocations: 83.83 kB / 375.1 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.0118, allocations: 247.2 kB / 375.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.0118, allocations: 0 / 375.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.0118, allocations: 4 kB / 375.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.01181, allocations: 0 / 375.3 MB, free: 4.82 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001028/0.01284, allocations: 0.6057 MB / 375.9 MB, free: 4.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.01288, allocations: 11.98 kB / 376 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.01299, allocations: 48.75 kB / 376 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.01354, allocations: 275 kB / 376.3 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.01356, allocations: 16.88 kB / 376.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.01361, allocations: 24.31 kB / 376.3 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.01401, allocations: 253.5 kB / 376.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01402, allocations: 4 kB / 376.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.01405, allocations: 8 kB / 376.6 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.01406, allocations: 4 kB / 376.6 MB, free: 3.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.01429, allocations: 111.6 kB / 376.7 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.01592, allocations: 1.406 MB / 378.1 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.01611, allocations: 106 kB / 378.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.01617, allocations: 31.44 kB / 378.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.01619, allocations: 4 kB / 378.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.01622, allocations: 33.39 kB / 378.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.01622, allocations: 0 / 378.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000769/0.01699, allocations: 360.7 kB / 378.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.01705, allocations: 77.11 kB / 378.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.01759, allocations: 324.2 kB / 379 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.01762, allocations: 29.81 kB / 379 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.01781, allocations: 250.7 kB / 379.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.01784, allocations: 31.73 kB / 379.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.01792, allocations: 55.31 kB / 379.4 MB, free: 484 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003057/0.01823, allocations: 0.5117 MB / 379.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.01829, allocations: 27.98 kB / 379.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.01847, allocations: 170.4 kB / 380.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.01874, allocations: 215.1 kB / 380.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01874, allocations: 0 / 380.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003105/0.01906, allocations: 189.2 kB / 380.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.01908, allocations: 8 kB / 380.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.01908, allocations: 4 kB / 380.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.0191, allocations: 7.938 kB / 380.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.01926, allocations: 39.98 kB / 380.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.01928, allocations: 12.36 kB / 380.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01938, allocations: 19.88 kB / 380.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.01939, allocations: 11.94 kB / 380.6 MB, free: 15.13 MB / 362.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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.01956, allocations: 172.5 kB / 380.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.01961, allocations: 23.91 kB / 380.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.0198, allocations: 91.88 kB / 380.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.0198, allocations: 0 / 380.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.0198, allocations: 3.984 kB / 380.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.01981, allocations: 7.938 kB / 380.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.02037, allocations: 441.2 kB / 381.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.02038, allocations: 8.031 kB / 381.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.273e-05/0.02047, allocations: 12 kB / 381.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.02047, allocations: 0 / 381.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.02049, allocations: 4 kB / 381.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.02049, allocations: 7.875 kB / 381.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.02049, allocations: 0 / 381.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.02083, allocations: 295.2 kB / 381.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.02087, allocations: 23.84 kB / 381.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.0209, allocations: 4 kB / 381.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.02098, allocations: 3.938 kB / 381.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.02101, allocations: 7.984 kB / 381.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.02102, allocations: 8.031 kB / 381.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001925/0.02121, allocations: 209.1 kB / 381.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02121, allocations: 0 / 381.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.02151, allocations: 40 kB / 381.9 MB, free: 13.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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 0.0001146/0.02163, allocations: 95.25 kB / 382 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.02184, allocations: 104 kB / 382.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02184, allocations: 4.312 kB / 382.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.573e-05/0.02191, allocations: 39.61 kB / 382.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.02238, allocations: 55.17 kB / 382.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.02331, allocations: 481.9 kB / 382.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.02349, allocations: 154 kB / 382.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.893e-05/0.02358, allocations: 26.28 kB / 382.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.02362, allocations: 20.5 kB / 382.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02363, allocations: 0 / 382.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.005979/0.0296, allocations: 1.787 MB / 384.6 MB, free: 10.94 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.666077070054598]