Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.0008307/0.0008307, 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.001652/0.001652, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2377/0.2377, allocations: 29.42 MB / 291.2 MB, free: 2.434 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_matrixTrDat3,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_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,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_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 316.9 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.224e-05, allocations: 2.312 kB / 316.9 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002697/0.002719, allocations: 2.284 MB / 319.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.005016, allocations: 1.978 MB / 321.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.005076, allocations: 4 kB / 321.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.005201, allocations: 11.91 kB / 321.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.402e-05/0.005295, allocations: 31.78 kB / 321.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.007451, allocations: 0.9934 MB / 322.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.007566, allocations: 91.61 kB / 322.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.007602, allocations: 192 / 322.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.007724, allocations: 47.88 kB / 322.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.00779, allocations: 39.89 kB / 322.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.0078, allocations: 0 / 322.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.01, allocations: 1.882 MB / 324.2 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.01006, allocations: 43.86 kB / 324.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.01011, allocations: 27.86 kB / 324.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.01243, allocations: 1.55 MB / 325.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01243, allocations: 0 / 325.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01243, allocations: 0 / 325.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.01244, allocations: 0 / 325.8 MB, free: 6.992 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.0006968/0.01313, allocations: 0.504 MB / 326.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.01317, allocations: 19.98 kB / 326.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.0132, allocations: 4.938 kB / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.01334, allocations: 157.4 kB / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.01334, allocations: 384 / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.01335, allocations: 7.938 kB / 326.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.01349, allocations: 124.1 kB / 326.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.01349, allocations: 3.938 kB / 326.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.0135, allocations: 4 kB / 326.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.01351, allocations: 0 / 326.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.337e-05/0.01357, allocations: 74 kB / 326.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.89e-05/0.01367, allocations: 72.38 kB / 326.8 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.521e-05/0.01375, allocations: 96.59 kB / 326.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.01381, allocations: 82.91 kB / 327 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-06/0.01381, allocations: 0 / 327 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.01383, allocations: 30.56 kB / 327 MB, free: 5.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 6.41e-07/0.01383, allocations: 0 / 327 MB, free: 5.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0002862/0.01412, allocations: 398.5 kB / 327.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.01416, allocations: 109.1 kB / 327.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.01446, allocations: 154.6 kB / 327.6 MB, free: 5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.01447, allocations: 25.7 kB / 327.7 MB, free: 4.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.01449, allocations: 96.75 kB / 327.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.01456, allocations: 134.8 kB / 327.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.01459, allocations: 33.67 kB / 327.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.01467, allocations: 338.8 kB / 328.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.01472, allocations: 88.45 kB / 328.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.471e-05/0.01477, allocations: 82.66 kB / 328.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.01489, allocations: 198.1 kB / 328.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01489, allocations: 0 / 328.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001691/0.01506, allocations: 264.9 kB / 328.9 MB, free: 3.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.01512, allocations: 87.91 kB / 329 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01512, allocations: 0 / 329 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.01513, allocations: 64 / 329 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.01514, allocations: 4 kB / 329 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.01514, allocations: 0 / 329 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.01519, allocations: 23.78 kB / 329 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.01521, allocations: 11.98 kB / 329 MB, free: 3.562 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.0001078/0.01532, allocations: 198.3 kB / 329.2 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.01534, allocations: 31.91 kB / 329.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.01536, allocations: 14.59 kB / 329.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.01536, allocations: 0 / 329.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.01537, allocations: 0 / 329.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.01537, allocations: 0 / 329.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.179e-05/0.01545, allocations: 113.7 kB / 329.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01545, allocations: 3.938 kB / 329.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-07/0.01545, allocations: 0 / 329.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.01545, allocations: 0 / 329.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01546, allocations: 8 kB / 329.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.01547, allocations: 0 / 329.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01547, allocations: 3.938 kB / 329.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.01576, allocations: 414 kB / 329.8 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.01578, allocations: 23.73 kB / 329.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.0158, allocations: 8 kB / 329.8 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.01583, allocations: 4 kB / 329.8 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.01585, allocations: 15.97 kB / 329.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.01586, allocations: 11.98 kB / 329.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.958e-05/0.01589, allocations: 36.81 kB / 329.9 MB, free: 2.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01589, allocations: 0 / 329.9 MB, free: 2.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007223/0.01662, allocations: 359.4 kB / 330.2 MB, free: 2.27 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.0006421/0.01726, allocations: 407 kB / 330.6 MB, free: 1.871 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.01753, allocations: 363.4 kB / 331 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.01754, allocations: 4 kB / 331 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.01768, allocations: 233.8 kB / 331.2 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.01783, allocations: 27.98 kB / 331.2 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.01857, allocations: 0.5281 MB / 331.8 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.524e-05/0.01863, allocations: 99.92 kB / 331.9 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.8e-05/0.01864, allocations: 3.953 kB / 331.9 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.01878, allocations: 99.36 kB / 332 MB, free: 432 kB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01878, allocations: 0 / 332 MB, free: 432 kB / 298.7 MB Notification: Performance of Templates: time 0.009838/0.02862, allocations: 8.917 MB / 340.9 MB, free: 7.535 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.1308466400951147]