Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.0009627/0.0009627, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001154/0.001154, allocations: 173.5 kB / 25 MB, free: 8.793 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 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2393/0.2393, allocations: 29.41 MB / 291.2 MB, free: 2.52 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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.212e-05, allocations: 5.266 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005675/0.005707, allocations: 4.545 MB / 374.2 MB, free: 6.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.007943, allocations: 1.53 MB / 375.7 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.008187, allocations: 15.88 kB / 375.7 MB, free: 5.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009577/0.009144, allocations: 282.7 kB / 376 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009365/0.01008, allocations: 302.3 kB / 376.3 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.01082, allocations: 267.1 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007685/0.01159, allocations: 0.6155 MB / 377.2 MB, free: 3.773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.01197, allocations: 200 kB / 377.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005679/0.01254, allocations: 363 kB / 377.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004839/0.01302, allocations: 363.1 kB / 378.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.01308, allocations: 40 kB / 378.1 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.01352, allocations: 231.5 kB / 378.3 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.01377, allocations: 251.4 kB / 378.6 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.01396, allocations: 175.6 kB / 378.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007356/0.01469, allocations: 0.549 MB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.0147, allocations: 4 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0147, allocations: 0 / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.01471, allocations: 0 / 379.3 MB, free: 1.629 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001167/0.01587, allocations: 0.8093 MB / 380.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.01592, allocations: 15.98 kB / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007311/0.01665, allocations: 172.4 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.01723, allocations: 366.7 kB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.01726, allocations: 33.38 kB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.01739, allocations: 44.72 kB / 380.7 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.01806, allocations: 472.6 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.01808, allocations: 3.938 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.01812, allocations: 15.98 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/0.01829, allocations: 68.94 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.01885, allocations: 297.7 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.02149, allocations: 2.619 MB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.02177, allocations: 174.3 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.02191, allocations: 87.41 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.02194, allocations: 8 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.02197, allocations: 45.27 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 3.196e-06/0.02198, allocations: 3.984 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001364/0.02334, allocations: 0.8026 MB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.02339, allocations: 81.11 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.02364, allocations: 326.3 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.02366, allocations: 29.7 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.02381, allocations: 306.9 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.619e-05/0.02391, allocations: 150.7 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.02402, allocations: 91.8 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.02418, allocations: 0.5235 MB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.02431, allocations: 72.95 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.02455, allocations: 266.9 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.02496, allocations: 381.8 kB / 387.5 MB, free: 8.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.02497, allocations: 4 kB / 387.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000811/0.02578, allocations: 480.1 kB / 388 MB, free: 8.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.0258, allocations: 8 kB / 388 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004545/0.02625, allocations: 257.3 kB / 388.2 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003634/0.02662, allocations: 103.5 kB / 388.3 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.02686, allocations: 87.81 kB / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.02904, allocations: 3.645 MB / 392.1 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.02922, allocations: 23.98 kB / 392.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.02926, allocations: 23.98 kB / 392.1 MB, free: 3.988 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.0294, allocations: 172.5 kB / 392.3 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.0295, allocations: 55.64 kB / 392.3 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.02994, allocations: 284.7 kB / 392.6 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.02995, allocations: 11.98 kB / 392.6 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.02996, allocations: 4.031 kB / 392.6 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.02996, allocations: 4 kB / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009469/0.03091, allocations: 0.7286 MB / 393.3 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.03091, allocations: 0 / 393.3 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.03116, allocations: 71.89 kB / 393.4 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.03116, allocations: 0 / 393.4 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.03118, allocations: 11.98 kB / 393.4 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.03119, allocations: 4 kB / 393.4 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.03119, allocations: 4.062 kB / 393.4 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.03179, allocations: 0.5101 MB / 393.9 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.03188, allocations: 63.73 kB / 394 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.03192, allocations: 8 kB / 394 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.03206, allocations: 19.97 kB / 394 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.03211, allocations: 19.89 kB / 394.1 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.03213, allocations: 12.19 kB / 394.1 MB, free: 1.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.03228, allocations: 211 kB / 394.3 MB, free: 1.711 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03228, allocations: 0 / 394.3 MB, free: 1.711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004707/0.03275, allocations: 119.9 kB / 394.4 MB, free: 1.594 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002378/0.03299, allocations: 143.1 kB / 394.5 MB, free: 1.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007726/0.03376, allocations: 0.6121 MB / 395.1 MB, free: 0.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.03376, allocations: 4.188 kB / 395.1 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.03393, allocations: 112.5 kB / 395.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.03437, allocations: 68.53 kB / 395.3 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.03618, allocations: 0.9419 MB / 396.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.03631, allocations: 148.9 kB / 396.4 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.03652, allocations: 79.19 kB / 396.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.0366, allocations: 36.48 kB / 396.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0366, allocations: 0 / 396.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of Templates: time 0.008393/0.04499, allocations: 4.289 MB / 400.8 MB, free: 11.12 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.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.104807080933824]