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.001048/0.001048, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005286/0.005286, allocations: 161 kB / 24.7 MB, free: 9.41 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.8424/0.8424, allocations: 177.1 MB / 205 MB, free: 5.742 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.2134/0.2134, allocations: 29.42 MB / 290.9 MB, free: 2.438 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=740,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=740,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 2.004e-06/2.004e-06, allocations: 0 / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.086e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.00338/0.003401, allocations: 3.852 MB / 435.3 MB, free: 9.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009523/0.004353, allocations: 0.8608 MB / 436.2 MB, free: 8.371 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.004483, allocations: 19.81 kB / 436.2 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.004619, allocations: 43.62 kB / 436.3 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.004975, allocations: 174.9 kB / 436.4 MB, free: 8.137 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.005102, allocations: 83.77 kB / 436.5 MB, free: 8.055 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.005369, allocations: 386.5 kB / 436.9 MB, free: 7.676 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.005509, allocations: 60.72 kB / 436.9 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.005773, allocations: 239.2 kB / 437.2 MB, free: 7.379 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.005958, allocations: 143.6 kB / 437.3 MB, free: 7.238 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.005983, allocations: 16 kB / 437.3 MB, free: 7.223 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.613e-05/0.006009, allocations: 20 kB / 437.4 MB, free: 7.203 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.006079, allocations: 87.72 kB / 437.4 MB, free: 7.117 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.957e-05/0.006149, allocations: 83.77 kB / 437.5 MB, free: 7.035 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.00637, allocations: 251.2 kB / 437.8 MB, free: 6.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.006372, allocations: 0 / 437.8 MB, free: 6.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006373, allocations: 0 / 437.8 MB, free: 6.789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.006377, allocations: 0 / 437.8 MB, free: 6.789 MB / 410.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.0008496/0.007227, allocations: 0.4945 MB / 438.3 MB, free: 6.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.007258, allocations: 15.97 kB / 438.3 MB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.007302, allocations: 32.75 kB / 438.3 MB, free: 6.215 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.007589, allocations: 252.3 kB / 438.6 MB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.007602, allocations: 12.88 kB / 438.6 MB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.007633, allocations: 24.38 kB / 438.6 MB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.007898, allocations: 278.6 kB / 438.9 MB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.007911, allocations: 3.938 kB / 438.9 MB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.007927, allocations: 4 kB / 438.9 MB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.007934, allocations: 12 kB / 438.9 MB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.008101, allocations: 159.8 kB / 439 MB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/0.008849, allocations: 1.052 MB / 440.1 MB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.008956, allocations: 80.98 kB / 440.2 MB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.008991, allocations: 33.81 kB / 440.2 MB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.009003, allocations: 7.984 kB / 440.2 MB, free: 4.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.009026, allocations: 30.56 kB / 440.2 MB, free: 4.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.009028, allocations: 4 kB / 440.2 MB, free: 4.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004943/0.009522, allocations: 344.2 kB / 440.6 MB, free: 3.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.009557, allocations: 77.11 kB / 440.7 MB, free: 3.652 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.009703, allocations: 237.8 kB / 440.9 MB, free: 3.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.009712, allocations: 25.7 kB / 440.9 MB, free: 3.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.009795, allocations: 199.9 kB / 441.1 MB, free: 3.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.009814, allocations: 31.88 kB / 441.1 MB, free: 3.148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.009852, allocations: 37.7 kB / 441.2 MB, free: 3.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.00993, allocations: 338.8 kB / 441.5 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.154e-05/0.009961, allocations: 23.94 kB / 441.5 MB, free: 2.742 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.01003, allocations: 132 kB / 441.7 MB, free: 2.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.01015, allocations: 168.8 kB / 441.8 MB, free: 2.359 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.01016, allocations: 0 / 441.8 MB, free: 2.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000161/0.01032, allocations: 185.2 kB / 442 MB, free: 2.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.01033, allocations: 8 kB / 442 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01034, allocations: 4 kB / 442 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.01035, allocations: 4 kB / 442 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.01044, allocations: 39.92 kB / 442.1 MB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01045, allocations: 4 kB / 442.1 MB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.0105, allocations: 16.36 kB / 442.1 MB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.01051, allocations: 8 kB / 442.1 MB, free: 2.09 MB / 410.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 9.167e-05/0.0106, allocations: 153.7 kB / 442.2 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.01063, allocations: 23.86 kB / 442.3 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.01074, allocations: 99.38 kB / 442.4 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01074, allocations: 0 / 442.4 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01074, allocations: 4 kB / 442.4 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01074, allocations: 3.938 kB / 442.4 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.01099, allocations: 339 kB / 442.7 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01099, allocations: 4 kB / 442.7 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.01105, allocations: 19.92 kB / 442.7 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.01105, allocations: 4.031 kB / 442.7 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.01105, allocations: 4 kB / 442.7 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01106, allocations: 7.875 kB / 442.7 MB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01106, allocations: 0 / 442.7 MB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.01122, allocations: 225 kB / 443 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.01124, allocations: 19.89 kB / 443 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.01126, allocations: 7.984 kB / 443 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.0113, allocations: 8.375 kB / 443 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.01132, allocations: 0 / 443 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.01132, allocations: 4 kB / 443 MB, free: 1.102 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.326e-05/0.01141, allocations: 169.3 kB / 443.2 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01141, allocations: 0 / 443.2 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.0116, allocations: 43.98 kB / 443.2 MB, free: 0.8945 MB / 410.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 6.885e-05/0.01167, allocations: 95.28 kB / 443.3 MB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.01179, allocations: 87.72 kB / 443.4 MB, free: 0.707 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01179, allocations: 0.875 kB / 443.4 MB, free: 0.707 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.01182, allocations: 20.06 kB / 443.4 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.01211, allocations: 72.56 kB / 443.5 MB, free: 0.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.01266, allocations: 0.4899 MB / 444 MB, free: 100 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1376/0.1502, allocations: 142.1 kB / 444.1 MB, free: 54.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.1503, allocations: 22.88 kB / 444.1 MB, free: 54.56 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1503, allocations: 0 / 444.1 MB, free: 54.56 MB / 410.7 MB Notification: Performance of Templates: time 0.003278/0.1536, allocations: 2.749 MB / 446.9 MB, free: 54.45 MB / 410.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] 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.506124132312834]