Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001399/0.001399, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.002058/0.002058, allocations: 161 kB / 24.56 MB, free: 16 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.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.629 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.2669/0.2669, allocations: 29.41 MB / 290.9 MB, free: 2.5 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.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3704,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3704,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.569e-05/3.771e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004319/0.004357, allocations: 3.938 MB / 373.6 MB, free: 7.035 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.005578, allocations: 0.8531 MB / 374.4 MB, free: 6.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.005763, allocations: 11.88 kB / 374.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.005971, allocations: 51.5 kB / 374.5 MB, free: 6.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.006443, allocations: 163 kB / 374.7 MB, free: 5.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.006633, allocations: 87.81 kB / 374.7 MB, free: 5.871 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.007025, allocations: 414.4 kB / 375.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.007212, allocations: 66.66 kB / 375.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.007586, allocations: 243.2 kB / 375.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.007844, allocations: 167.5 kB / 375.6 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.007883, allocations: 20 kB / 375.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.591e-05/0.007918, allocations: 20 kB / 375.6 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.008025, allocations: 103.6 kB / 375.7 MB, free: 4.863 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.87e-05/0.008124, allocations: 91.77 kB / 375.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.00842, allocations: 211.2 kB / 376 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.008423, allocations: 3.938 kB / 376 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.008424, allocations: 0 / 376 MB, free: 4.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.008431, allocations: 0 / 376 MB, free: 4.562 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007963/0.009228, allocations: 0.6216 MB / 376.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.009278, allocations: 15.98 kB / 376.7 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.009368, allocations: 48.7 kB / 376.7 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.00981, allocations: 299.8 kB / 377 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.009833, allocations: 12.88 kB / 377 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.009949, allocations: 32.75 kB / 377.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.01026, allocations: 253.6 kB / 377.3 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.01027, allocations: 0 / 377.3 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.01029, allocations: 12 kB / 377.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.01031, allocations: 4 kB / 377.3 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.01046, allocations: 99.8 kB / 377.4 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.01164, allocations: 1.464 MB / 378.9 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.01195, allocations: 133.2 kB / 379 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.01201, allocations: 51.09 kB / 379.1 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.01203, allocations: 4 kB / 379.1 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.01206, allocations: 33.39 kB / 379.1 MB, free: 1.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.01206, allocations: 0 / 379.1 MB, free: 1.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006977/0.01276, allocations: 440.2 kB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.01281, allocations: 102.8 kB / 379.6 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.01299, allocations: 292.2 kB / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.01301, allocations: 29.7 kB / 380 MB, free: 320 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01311, allocations: 246.9 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.01314, allocations: 47.88 kB / 380.2 MB, free: 20 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.0132, allocations: 51.36 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01332, allocations: 0.5001 MB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.01336, allocations: 23.98 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.01347, allocations: 162.2 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.01362, allocations: 199.4 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01362, allocations: 4 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002695/0.01389, allocations: 212.9 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.01391, allocations: 4 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.01392, allocations: 4 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001001/0.01402, allocations: 27.67 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.01419, allocations: 59.89 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.0142, allocations: 7.938 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.01426, allocations: 15.92 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01427, allocations: 8.312 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.492e-05/0.01437, allocations: 180.5 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.01441, allocations: 27.81 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.01458, allocations: 126.6 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01459, allocations: 0 / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01459, allocations: 8 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.0146, allocations: 0 / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.01481, allocations: 212.5 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01481, allocations: 0 / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.982e-05/0.0149, allocations: 35.92 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.0149, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.01491, allocations: 7.984 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01492, allocations: 0 / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01492, allocations: 0 / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.01518, allocations: 426.6 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.01521, allocations: 27.75 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.01523, allocations: 0 / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.0153, allocations: 7.984 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.01532, allocations: 15.92 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.01533, allocations: 0 / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.212e-05/0.01542, allocations: 205.2 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01542, allocations: 0 / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000212/0.01563, allocations: 44 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.226e-05/0.01571, allocations: 103.2 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.01593, allocations: 119.6 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01593, allocations: 0.8125 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.507e-05/0.01599, allocations: 51.59 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.01633, allocations: 58.8 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.01765, allocations: 0.5523 MB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.948e-05/0.01773, allocations: 96.23 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.757e-05/0.01782, allocations: 26.28 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.01787, allocations: 28.48 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01787, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Templates: time 0.005442/0.02331, allocations: 2.293 MB / 386.1 MB, free: 9.895 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.3020380567759275]