Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001113/0.001113, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001097/0.001097, allocations: 170.2 kB / 24.82 MB, free: 9.203 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.9995/0.9995, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2605/0.2605, allocations: 29.42 MB / 291.2 MB, free: 2.391 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.509e-05, allocations: 5.266 kB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002232/0.002247, allocations: 2.269 MB / 372.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.004412, allocations: 1.93 MB / 374.3 MB, free: 6.445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.004466, allocations: 0 / 374.3 MB, free: 6.445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.004581, allocations: 15.86 kB / 374.3 MB, free: 6.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.212e-05/0.004663, allocations: 31.77 kB / 374.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.006878, allocations: 0.9817 MB / 375.4 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.006984, allocations: 75.69 kB / 375.4 MB, free: 5.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.007018, allocations: 8.172 kB / 375.4 MB, free: 5.332 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.007126, allocations: 35.91 kB / 375.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.007189, allocations: 43.88 kB / 375.5 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.007199, allocations: 4 kB / 375.5 MB, free: 5.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.009288, allocations: 1.898 MB / 377.4 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.009335, allocations: 31.86 kB / 377.4 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.009368, allocations: 23.92 kB / 377.5 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.01102, allocations: 1.523 MB / 379 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01102, allocations: 0 / 379 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01102, allocations: 0 / 379 MB, free: 1.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.01102, allocations: 0 / 379 MB, free: 1.766 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005324/0.01156, allocations: 0.5902 MB / 379.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.01159, allocations: 15.98 kB / 379.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.01162, allocations: 12.84 kB / 379.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.01174, allocations: 148.4 kB / 379.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.01175, allocations: 384 / 379.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.01176, allocations: 7.922 kB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.684e-05/0.01186, allocations: 94.22 kB / 379.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.01186, allocations: 4 kB / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.01187, allocations: 0 / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.01187, allocations: 0 / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.468e-05/0.01191, allocations: 57.55 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.894e-05/0.012, allocations: 117.1 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.764e-05/0.01205, allocations: 84.69 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.01209, allocations: 77.34 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-06/0.01209, allocations: 0 / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.01211, allocations: 37.33 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 7.91e-07/0.01212, allocations: 0 / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002246/0.01234, allocations: 275 kB / 380.5 MB, free: 92 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.01239, allocations: 97.09 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/0.01247, allocations: 212.5 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.01248, allocations: 25.7 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.01253, allocations: 147.3 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.01258, allocations: 87.22 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.01262, allocations: 39.34 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.01274, allocations: 0.5079 MB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.01278, allocations: 53.69 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.01281, allocations: 61.69 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.04e-05/0.0129, allocations: 145.1 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.0129, allocations: 0 / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000138/0.01304, allocations: 210.4 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.01308, allocations: 65.59 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.01308, allocations: 0 / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.01309, allocations: 0 / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.01309, allocations: 0 / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.0131, allocations: 0 / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.01313, allocations: 15.95 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.01315, allocations: 11.98 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.564e-05/0.01325, allocations: 214.2 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.01327, allocations: 27.84 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.547e-05/0.01328, allocations: 13.28 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.01328, allocations: 0 / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01329, allocations: 0 / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01329, allocations: 4 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.01379, allocations: 121.1 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.0138, allocations: 0 / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.0138, allocations: 4 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.0138, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01381, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01381, allocations: 3.938 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01381, allocations: 3.938 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.01404, allocations: 323.3 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.01405, allocations: 15.84 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.01406, allocations: 4 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.01408, allocations: 7.938 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.0141, allocations: 8 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.01411, allocations: 8 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.01415, allocations: 151.2 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01415, allocations: 0 / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005685/0.01472, allocations: 331.4 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0005707/0.01529, allocations: 414.4 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.01549, allocations: 270.4 kB / 384 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01549, allocations: 4 kB / 384 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.0156, allocations: 188.7 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.01573, allocations: 19.08 kB / 384.2 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.01621, allocations: 392 kB / 384.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.01625, allocations: 83.31 kB / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.036e-05/0.01626, allocations: 0 / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.924e-05/0.01636, allocations: 106.3 kB / 384.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01636, allocations: 0 / 384.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of Templates: time 0.01165/0.02801, allocations: 8.329 MB / 393.1 MB, free: 3.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.261904218699783]