Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.0007932/0.0007932, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001854, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007325/0.0007325, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009322/0.001665, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9627/0.9627, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08185/1.045, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1132/0.1132, allocations: 29.45 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1183/0.2315, allocations: 9.526 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.514e-06/8.777e-06, allocations: 3.516 kB / 284.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002089/0.002097, allocations: 2.383 MB / 286.6 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.0035, allocations: 1.072 MB / 287.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.003546, allocations: 1.188 kB / 287.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.052e-05/0.003617, allocations: 22.34 kB / 287.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.708e-05/0.003714, allocations: 56.42 kB / 287.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.004445, allocations: 312.1 kB / 288.1 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.004596, allocations: 123.7 kB / 288.2 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.126e-05/0.004628, allocations: 3.438 kB / 288.2 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.004762, allocations: 74.86 kB / 288.3 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.004847, allocations: 57.69 kB / 288.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.004859, allocations: 6.625 kB / 288.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006029/0.005461, allocations: 0.5518 MB / 288.9 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.005506, allocations: 38.92 kB / 288.9 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.005536, allocations: 20.44 kB / 289 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.005995, allocations: 489.2 kB / 289.4 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.006007, allocations: 0 / 289.4 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006008, allocations: 1.344 kB / 289.4 MB, free: 8.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.006021, allocations: 0 / 289.4 MB, free: 8.191 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004747/0.006496, allocations: 402.4 kB / 289.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.006524, allocations: 8.438 kB / 289.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.006555, allocations: 7.188 kB / 289.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.00668, allocations: 144.9 kB / 290 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.00669, allocations: 6.5 kB / 290 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.048e-06/0.006699, allocations: 6.578 kB / 290 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.006826, allocations: 114.2 kB / 290.1 MB, free: 7.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006834, allocations: 3.938 kB / 290.1 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.006841, allocations: 1.344 kB / 290.1 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.006846, allocations: 0 / 290.1 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.006893, allocations: 71.03 kB / 290.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.394e-05/0.006957, allocations: 67.67 kB / 290.3 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.847e-05/0.007026, allocations: 91.91 kB / 290.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.007073, allocations: 78.67 kB / 290.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-06/0.007077, allocations: 1.406 kB / 290.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.007097, allocations: 32.03 kB / 290.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 6.72e-07/0.007098, allocations: 0 / 290.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002224/0.00732, allocations: 283.7 kB / 290.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.007343, allocations: 56.72 kB / 290.8 MB, free: 7.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.007407, allocations: 134.6 kB / 290.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.007416, allocations: 27.08 kB / 290.9 MB, free: 6.945 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.044e-05/0.007437, allocations: 91.19 kB / 291 MB, free: 6.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.007496, allocations: 67.97 kB / 291.1 MB, free: 6.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.007533, allocations: 21.95 kB / 291.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.007601, allocations: 335 kB / 291.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.007648, allocations: 72.27 kB / 291.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.007687, allocations: 65.44 kB / 291.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.007799, allocations: 172.3 kB / 291.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.007801, allocations: 0 / 291.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001377/0.007938, allocations: 205.8 kB / 291.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.007986, allocations: 53.61 kB / 292 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.00799, allocations: 0 / 292 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.007999, allocations: 1.125 kB / 292 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.659e-06/0.008003, allocations: 0 / 292 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.008007, allocations: 8 kB / 292 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.00805, allocations: 9.469 kB / 292 MB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.008066, allocations: 5.062 kB / 292 MB, free: 6.09 MB / 282.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 7.955e-05/0.008146, allocations: 169.8 kB / 292.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.008165, allocations: 18.58 kB / 292.2 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.323e-05/0.008178, allocations: 6.562 kB / 292.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.008179, allocations: 1.344 kB / 292.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.008182, allocations: 3.938 kB / 292.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.008184, allocations: 3.938 kB / 292.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.19e-05/0.008246, allocations: 90.39 kB / 292.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008247, allocations: 4 kB / 292.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.008248, allocations: 1.406 kB / 292.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.00826, allocations: 14.83 kB / 292.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.008262, allocations: 1.25 kB / 292.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.00827, allocations: 3.688 kB / 292.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.008271, allocations: 3.938 kB / 292.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008272, allocations: 1.188 kB / 292.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.0085, allocations: 305.5 kB / 292.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.008513, allocations: 4.312 kB / 292.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.008536, allocations: 3.375 kB / 292.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.008549, allocations: 1.938 kB / 292.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.008558, allocations: 9.281 kB / 292.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.608e-05/0.008584, allocations: 29.14 kB / 292.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008584, allocations: 0 / 292.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003162/0.008901, allocations: 139.5 kB / 292.8 MB, free: 5.566 MB / 282.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.0002844/0.009185, allocations: 177.8 kB / 293 MB, free: 5.461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.009394, allocations: 290.9 kB / 293.3 MB, free: 5.285 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.009398, allocations: 5.078 kB / 293.3 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.00951, allocations: 191 kB / 293.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.009635, allocations: 35.5 kB / 293.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.01031, allocations: 379.8 kB / 293.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.718e-05/0.01035, allocations: 75.58 kB / 294 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.466e-05/0.01037, allocations: 11.94 kB / 294 MB, free: 4.668 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.01047, allocations: 83.36 kB / 294 MB, free: 4.586 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01047, allocations: 4.062 kB / 294 MB, free: 4.582 MB / 282.7 MB Notification: Performance of Templates: time 0.005705/0.01617, allocations: 4.212 MB / 298.3 MB, free: 448 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.780822522006929]