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.001219/0.001219, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002108/0.003327, allocations: 449.8 kB / 10.44 MB, free: 252 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.001077/0.001077, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.002331, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9819/0.9819, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0946/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.1123/0.1123, allocations: 29.44 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1148/0.2271, allocations: 9.546 MB / 283.2 MB, free: 12.82 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.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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="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.743e-06/1.743e-06, allocations: 0 / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.487e-05, allocations: 3.578 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002568/0.002583, allocations: 2.355 MB / 286.8 MB, free: 9.918 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.004929, allocations: 1.982 MB / 288.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.004981, allocations: 9.25 kB / 288.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.296e-05/0.005054, allocations: 10.27 kB / 288.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.347e-05/0.005128, allocations: 34.89 kB / 288.8 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.006541, allocations: 0.8697 MB / 289.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.006651, allocations: 80.77 kB / 289.8 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.006687, allocations: 14.91 kB / 289.8 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.006812, allocations: 55.33 kB / 289.9 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.006885, allocations: 49.86 kB / 289.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.006896, allocations: 2.75 kB / 289.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.008804, allocations: 1.833 MB / 291.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.008864, allocations: 47.45 kB / 291.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.0089, allocations: 26.3 kB / 291.8 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.01007, allocations: 1.292 MB / 293.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.01008, allocations: 4 kB / 293.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01008, allocations: 1.281 kB / 293.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.01009, allocations: 0 / 293.1 MB, free: 6.004 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005356/0.01062, allocations: 0.6018 MB / 293.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.01065, allocations: 8.031 kB / 293.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.01069, allocations: 8.922 kB / 293.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.01082, allocations: 149.5 kB / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.01083, allocations: 384 / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.01084, allocations: 3.938 kB / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.01124, allocations: 156.7 kB / 294 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.01126, allocations: 3.938 kB / 294 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.01126, allocations: 4 kB / 294 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.01127, allocations: 0 / 294 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/0.01133, allocations: 101.9 kB / 294.1 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.807e-05/0.0114, allocations: 80.31 kB / 294.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.01148, allocations: 120.6 kB / 294.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.01154, allocations: 106.9 kB / 294.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-06/0.01154, allocations: 0 / 294.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.01156, allocations: 34.5 kB / 294.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 5.21e-07/0.01156, allocations: 4 kB / 294.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003141/0.01188, allocations: 462.6 kB / 294.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.0119, allocations: 55.44 kB / 295 MB, free: 3.996 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.01197, allocations: 158.6 kB / 295.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.01198, allocations: 29.7 kB / 295.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.01201, allocations: 100.8 kB / 295.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.01207, allocations: 122.8 kB / 295.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.01211, allocations: 41.66 kB / 295.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.01219, allocations: 334.8 kB / 295.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.01226, allocations: 112.4 kB / 295.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.253e-05/0.01231, allocations: 94.66 kB / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.01246, allocations: 254 kB / 296.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01246, allocations: 4.031 kB / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001943/0.01265, allocations: 304.9 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/0.01271, allocations: 85.56 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.01271, allocations: 0 / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01272, allocations: 0 / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.033e-06/0.01273, allocations: 0 / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.01273, allocations: 4 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.01278, allocations: 19.84 kB / 296.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.0128, allocations: 8 kB / 296.6 MB, free: 2.266 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 9.562e-05/0.01289, allocations: 194.3 kB / 296.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.01292, allocations: 32.02 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.01293, allocations: 18.58 kB / 296.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01293, allocations: 7.922 kB / 296.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01294, allocations: 4 kB / 296.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.01294, allocations: 0 / 296.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.846e-05/0.01301, allocations: 113.6 kB / 297 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.01301, allocations: 0 / 297 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.01301, allocations: 0 / 297 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.01302, allocations: 23.8 kB / 297 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-07/0.01302, allocations: 0 / 297 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01303, allocations: 11.94 kB / 297 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.01303, allocations: 4 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01303, allocations: 0 / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.01334, allocations: 465.9 kB / 297.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.01336, allocations: 8 kB / 297.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.01338, allocations: 4 kB / 297.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.0134, allocations: 11.94 kB / 297.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.01341, allocations: 11.98 kB / 297.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.934e-05/0.01344, allocations: 40.81 kB / 297.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01344, allocations: 0 / 297.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004785/0.01392, allocations: 359.3 kB / 297.9 MB, free: 0.9102 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.0006198/0.01454, allocations: 441 kB / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.01482, allocations: 407.5 kB / 298.7 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.01482, allocations: 0 / 298.7 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.01504, allocations: 347.3 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.01518, allocations: 57.69 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009797/0.01616, allocations: 0.5574 MB / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.339e-05/0.01621, allocations: 95.8 kB / 299.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.037e-05/0.01622, allocations: 0 / 299.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.674e-05/0.01632, allocations: 79.38 kB / 299.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01632, allocations: 0 / 299.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Templates: time 0.009821/0.02614, allocations: 8.999 MB / 308.9 MB, free: 5.879 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.905343280173838]