Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002515/0.002515, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1787/0.1787, allocations: 38.54 MB / 344.5 MB, free: 2.672 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 482.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3219, allocations: 61.25 MB / 0.5306 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002915/0.3248, allocations: 2.117 MB / 0.5326 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006864/0.3255, allocations: 0.5261 MB / 0.5332 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.3255, allocations: 0 / 0.5332 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.3256, allocations: 15.02 kB / 0.5332 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/0.3257, allocations: 25.14 kB / 0.5332 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.326, allocations: 67.81 kB / 0.5333 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.3262, allocations: 57.25 kB / 0.5333 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.3262, allocations: 2.875 kB / 0.5333 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.061e-05/0.3263, allocations: 37.25 kB / 0.5334 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.3263, allocations: 31.5 kB / 0.5334 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.3263, allocations: 1.156 kB / 0.5334 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.3265, allocations: 92.7 kB / 0.5335 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.3266, allocations: 27.42 kB / 0.5335 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.3266, allocations: 33.39 kB / 0.5335 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3268, allocations: 126.4 kB / 0.5337 GB, free: 3.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3268, allocations: 0 / 0.5337 GB, free: 3.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3268, allocations: 0 / 0.5337 GB, free: 3.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3268, allocations: 7.875 kB / 0.5337 GB, free: 3.664 MB / 382.1 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.0003427/0.3271, allocations: 444.8 kB / 0.5341 GB, free: 3.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.3272, allocations: 8.344 kB / 0.5341 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.3272, allocations: 15.34 kB / 0.5341 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3273, allocations: 183.3 kB / 0.5343 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3273, allocations: 384 / 0.5343 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3274, allocations: 5.719 kB / 0.5343 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3275, allocations: 92.14 kB / 0.5344 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3275, allocations: 0 / 0.5344 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3275, allocations: 0 / 0.5344 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.3275, allocations: 4 kB / 0.5344 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.832e-05/0.3276, allocations: 61.34 kB / 0.5344 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.3277, allocations: 183.6 kB / 0.5346 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.3278, allocations: 71.53 kB / 0.5347 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.3279, allocations: 66.59 kB / 0.5347 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.3279, allocations: 1.094 kB / 0.5347 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.3279, allocations: 35.2 kB / 0.5348 GB, free: 2.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 9.12e-07/0.3279, allocations: 5.125 kB / 0.5348 GB, free: 2.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003744/0.3283, allocations: 303.4 kB / 0.5351 GB, free: 2.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3283, allocations: 95.69 kB / 0.5352 GB, free: 2.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.3284, allocations: 132.1 kB / 0.5353 GB, free: 2.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.3284, allocations: 27.11 kB / 0.5353 GB, free: 2.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.3284, allocations: 92.78 kB / 0.5354 GB, free: 2.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.3285, allocations: 84.86 kB / 0.5355 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.3285, allocations: 26.64 kB / 0.5355 GB, free: 2.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.3286, allocations: 332.6 kB / 0.5358 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.3286, allocations: 54.97 kB / 0.5359 GB, free: 1.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.096e-05/0.3287, allocations: 61.58 kB / 0.5359 GB, free: 1.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3289, allocations: 250.9 kB / 0.5362 GB, free: 1.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3289, allocations: 0 / 0.5362 GB, free: 1.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001988/0.3291, allocations: 227.8 kB / 0.5364 GB, free: 1.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.3291, allocations: 62.67 kB / 0.5365 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3291, allocations: 0.7969 kB / 0.5365 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3291, allocations: 1.375 kB / 0.5365 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3291, allocations: 4.062 kB / 0.5365 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3291, allocations: 4.516 kB / 0.5365 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.3292, allocations: 13.39 kB / 0.5365 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3292, allocations: 4.125 kB / 0.5365 GB, free: 1.508 MB / 382.1 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.0001071/0.3293, allocations: 200 kB / 0.5367 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.3293, allocations: 16.16 kB / 0.5367 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.3293, allocations: 11.92 kB / 0.5367 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3293, allocations: 1.375 kB / 0.5367 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3293, allocations: 0 / 0.5367 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3293, allocations: 7.938 kB / 0.5367 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.102e-05/0.3294, allocations: 200.7 kB / 0.5369 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3294, allocations: 1.375 kB / 0.5369 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3294, allocations: 0 / 0.5369 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3294, allocations: 0 / 0.5369 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3295, allocations: 8.109 kB / 0.5369 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3295, allocations: 1.375 kB / 0.5369 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3295, allocations: 0 / 0.5369 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.3299, allocations: 0.5005 MB / 0.5374 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.3299, allocations: 92.2 kB / 0.5375 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.33, allocations: 9.203 kB / 0.5375 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.433e-05/0.33, allocations: 6.375 kB / 0.5375 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.33, allocations: 6.406 kB / 0.5375 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.33, allocations: 4.875 kB / 0.5375 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.293e-05/0.3301, allocations: 102.7 kB / 0.5376 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3301, allocations: 0 / 0.5376 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.3303, allocations: 41.06 kB / 0.5377 GB, free: 0.6406 MB / 382.1 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.0001492/0.3305, allocations: 133.4 kB / 0.5378 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.3309, allocations: 450.3 kB / 0.5382 GB, free: 348 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3309, allocations: 3.938 kB / 0.5382 GB, free: 344 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.3311, allocations: 316.5 kB / 0.5385 GB, free: 196 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.3314, allocations: 20.05 kB / 0.5385 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.332, allocations: 436.1 kB / 0.5389 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3323, allocations: 0.7189 MB / 0.5397 GB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.3323, allocations: 6.062 kB / 0.5397 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.3323, allocations: 8.5 kB / 0.5397 GB, free: 15.21 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3323, allocations: 0 / 0.5397 GB, free: 15.21 MB / 398.1 MB Notification: Performance of Templates: time 0.005029/0.3374, allocations: 2.004 MB / 0.5416 GB, free: 14.23 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.905434253625572]