Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001719/0.001719, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002211/0.002211, allocations: 161.7 kB / 24.27 MB, free: 172 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.494/1.494, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.2833/0.2833, allocations: 29.42 MB / 290.5 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.558e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006924/0.006949, allocations: 4.474 MB / 373.4 MB, free: 6.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.009681, allocations: 1.25 MB / 374.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.00993, allocations: 15.88 kB / 374.6 MB, free: 5.543 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.01125, allocations: 402.1 kB / 375 MB, free: 5.148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006701/0.01192, allocations: 262.5 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.01245, allocations: 167.5 kB / 375.4 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008761/0.01333, allocations: 0.5722 MB / 376 MB, free: 4.152 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004376/0.01376, allocations: 229.4 kB / 376.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006385/0.0144, allocations: 350.9 kB / 376.6 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.01489, allocations: 267.2 kB / 376.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.01495, allocations: 28 kB / 376.9 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.01526, allocations: 135.7 kB / 377 MB, free: 3.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.0155, allocations: 207.5 kB / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.01572, allocations: 151.7 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007388/0.01645, allocations: 0.5178 MB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01646, allocations: 0 / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01646, allocations: 4 kB / 377.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.01647, allocations: 0 / 377.9 MB, free: 2.289 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001266/0.01773, allocations: 0.6272 MB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.01777, allocations: 11.98 kB / 378.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006997/0.01847, allocations: 128.6 kB / 378.6 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007542/0.01923, allocations: 363.9 kB / 379 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.01927, allocations: 25.38 kB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.01942, allocations: 52.67 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.02025, allocations: 484.9 kB / 379.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.02027, allocations: 4 kB / 379.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.02031, allocations: 16 kB / 379.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.02042, allocations: 24.98 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/0.02104, allocations: 351.7 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.0235, allocations: 1.413 MB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.02382, allocations: 149 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.02401, allocations: 101.7 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.02403, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.02406, allocations: 38.56 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.02406, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001633/0.0257, allocations: 0.7539 MB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.02577, allocations: 89.05 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.02614, allocations: 292.5 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.02617, allocations: 25.7 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.02638, allocations: 256 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.02646, allocations: 71.42 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.02656, allocations: 57.94 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.02675, allocations: 338.9 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.02695, allocations: 108.2 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.02722, allocations: 201.3 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.02771, allocations: 328 kB / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.02772, allocations: 3.938 kB / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001042/0.02876, allocations: 477.8 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.02878, allocations: 8 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007054/0.02948, allocations: 308.7 kB / 384.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006945/0.03018, allocations: 168.8 kB / 385 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.03039, allocations: 55.92 kB / 385.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.03369, allocations: 2.309 MB / 387.4 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.03389, allocations: 15.98 kB / 387.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.03392, allocations: 16 kB / 387.4 MB, free: 8.234 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002597/0.03417, allocations: 193.6 kB / 387.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.03425, allocations: 35.81 kB / 387.7 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005208/0.03477, allocations: 256.6 kB / 387.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.03478, allocations: 4 kB / 387.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.03479, allocations: 0 / 387.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.03479, allocations: 0 / 387.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.03616, allocations: 0.6293 MB / 388.6 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.03616, allocations: 0 / 388.6 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.0364, allocations: 43.95 kB / 388.6 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.03651, allocations: 40.77 kB / 388.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.03653, allocations: 7.938 kB / 388.6 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.03654, allocations: 3.984 kB / 388.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.03654, allocations: 0 / 388.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006853/0.03723, allocations: 454.5 kB / 389.1 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.03728, allocations: 23.8 kB / 389.1 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.03732, allocations: 12.06 kB / 389.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.03747, allocations: 8.031 kB / 389.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.03752, allocations: 15.97 kB / 389.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.03753, allocations: 8 kB / 389.2 MB, free: 6.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002716/0.0378, allocations: 203.1 kB / 389.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0378, allocations: 0 / 389.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004751/0.03828, allocations: 84 kB / 389.4 MB, free: 6.145 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0001429/0.03842, allocations: 107.2 kB / 389.5 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000793/0.03921, allocations: 404.9 kB / 389.9 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03921, allocations: 0 / 389.9 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.03943, allocations: 105.6 kB / 390 MB, free: 5.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.03993, allocations: 65.91 kB / 390.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.04147, allocations: 0.8113 MB / 390.9 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.04178, allocations: 237.1 kB / 391.1 MB, free: 4.363 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.04196, allocations: 58.92 kB / 391.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.04204, allocations: 24.5 kB / 391.2 MB, free: 4.281 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.04204, allocations: 0 / 391.2 MB, free: 4.281 MB / 362.7 MB Notification: Performance of Templates: time 0.009046/0.05108, allocations: 3.66 MB / 394.9 MB, free: 0.6797 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.758681972045451]