Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.00137/0.00137, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009533/0.0009533, allocations: 171.8 kB / 24.91 MB, free: 9.148 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.9861/0.9861, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2181/0.2181, allocations: 29.43 MB / 291.2 MB, free: 2.48 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_matrixEqCirc3,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_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,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_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.969e-05, allocations: 6.359 kB / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003514/0.003544, allocations: 2.219 MB / 319.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009522/0.004496, allocations: 0.5577 MB / 319.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.004548, allocations: 3.938 kB / 319.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.004698, allocations: 11.92 kB / 319.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.004798, allocations: 27.78 kB / 319.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.005244, allocations: 71.81 kB / 319.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.005384, allocations: 67.67 kB / 319.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.005431, allocations: 11.98 kB / 319.8 MB, free: 13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.005611, allocations: 39.83 kB / 319.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.961e-05/0.00567, allocations: 23.92 kB / 319.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.005684, allocations: 4 kB / 319.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.005901, allocations: 99.72 kB / 320 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.005965, allocations: 43.84 kB / 320 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.005996, allocations: 15.94 kB / 320 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.006216, allocations: 151.4 kB / 320.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.006219, allocations: 0 / 320.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.00622, allocations: 0 / 320.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.006224, allocations: 4 kB / 320.2 MB, free: 12.63 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000385/0.006609, allocations: 385.7 kB / 320.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.006651, allocations: 11.98 kB / 320.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.006691, allocations: 4.938 kB / 320.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.006864, allocations: 153 kB / 320.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.006875, allocations: 384 / 320.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.006886, allocations: 384 / 320.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.007059, allocations: 124.1 kB / 320.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.007072, allocations: 4 kB / 320.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.00708, allocations: 0 / 320.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.007087, allocations: 8 kB / 320.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.056e-05/0.007148, allocations: 73.95 kB / 320.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.007251, allocations: 76.31 kB / 321 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.007353, allocations: 96.58 kB / 321.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.007418, allocations: 82.91 kB / 321.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-06/0.007422, allocations: 0 / 321.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.007446, allocations: 30.56 kB / 321.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.242e-06/0.007447, allocations: 0 / 321.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003913/0.007838, allocations: 399.5 kB / 321.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.007897, allocations: 105.1 kB / 321.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.008008, allocations: 138.6 kB / 321.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.00802, allocations: 29.73 kB / 321.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.008056, allocations: 92.77 kB / 322 MB, free: 10.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/0.008152, allocations: 126.8 kB / 322.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.008197, allocations: 33.67 kB / 322.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.008308, allocations: 330.8 kB / 322.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.008385, allocations: 84.52 kB / 322.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.008442, allocations: 78.67 kB / 322.6 MB, free: 10 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.008613, allocations: 206 kB / 322.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008616, allocations: 4 kB / 322.8 MB, free: 9.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002492/0.008865, allocations: 264.9 kB / 323.1 MB, free: 9.504 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.603e-05/0.008941, allocations: 81.64 kB / 323.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.008946, allocations: 0 / 323.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.00896, allocations: 0 / 323.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-06/0.008966, allocations: 3.984 kB / 323.2 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.008969, allocations: 0 / 323.2 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.009016, allocations: 19.89 kB / 323.2 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.009042, allocations: 8 kB / 323.2 MB, free: 9.387 MB / 298.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 0.0001483/0.009191, allocations: 194.3 kB / 323.4 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.009232, allocations: 31.92 kB / 323.4 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.907e-05/0.009251, allocations: 5.969 kB / 323.4 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.009255, allocations: 8 kB / 323.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.009256, allocations: 0 / 323.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.009259, allocations: 0 / 323.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.009362, allocations: 101.6 kB / 323.5 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009364, allocations: 0 / 323.5 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-06/0.009367, allocations: 4 kB / 323.5 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.009369, allocations: 0 / 323.5 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.009383, allocations: 4 kB / 323.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.009391, allocations: 7.875 kB / 323.5 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.009392, allocations: 0 / 323.5 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.00979, allocations: 414 kB / 323.9 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.009811, allocations: 27.81 kB / 324 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.009837, allocations: 8 kB / 324 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.344e-05/0.00987, allocations: 7.938 kB / 324 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.009896, allocations: 12 kB / 324 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.009912, allocations: 4 kB / 324 MB, free: 8.504 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.577e-05/0.009948, allocations: 32.02 kB / 324 MB, free: 8.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009948, allocations: 0 / 324 MB, free: 8.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.01021, allocations: 63.94 kB / 324.1 MB, free: 8.41 MB / 298.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.0002018/0.01041, allocations: 100.3 kB / 324.2 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004034/0.01081, allocations: 367.4 kB / 324.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.01082, allocations: 0 / 324.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.01102, allocations: 233.8 kB / 324.8 MB, free: 7.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.01123, allocations: 27.97 kB / 324.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.01188, allocations: 0.4935 MB / 325.3 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.566e-05/0.01195, allocations: 89.19 kB / 325.4 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.437e-05/0.01197, allocations: 8.375 kB / 325.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.01215, allocations: 99.36 kB / 325.5 MB, free: 6.898 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01215, allocations: 0 / 325.5 MB, free: 6.898 MB / 298.7 MB Notification: Performance of Templates: time 0.006203/0.01835, allocations: 2.954 MB / 328.4 MB, free: 4.008 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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: 2.906299415975809]