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.001409/0.001409, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001374/0.001374, allocations: 173.1 kB / 24.91 MB, free: 8.77 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2655/0.2655, allocations: 29.43 MB / 291.2 MB, free: 2.477 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|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="Time|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.924e-06/1.924e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.861e-05, allocations: 2.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002705/0.002734, allocations: 2.327 MB / 319.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.004042, allocations: 1.074 MB / 320.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.00409, allocations: 0 / 320.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.004229, allocations: 11.91 kB / 320.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.004331, allocations: 55.67 kB / 320.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.00507, allocations: 350.8 kB / 320.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.005204, allocations: 119.5 kB / 320.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.005245, allocations: 7.844 kB / 320.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.005388, allocations: 71.78 kB / 320.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.35e-05/0.005471, allocations: 63.78 kB / 320.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.005482, allocations: 0 / 320.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007119/0.006194, allocations: 0.5688 MB / 321.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.006246, allocations: 43.84 kB / 321.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.006278, allocations: 27.94 kB / 321.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.00674, allocations: 0.5571 MB / 322.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006744, allocations: 0 / 322.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.006746, allocations: 4 kB / 322.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.00675, allocations: 0 / 322.1 MB, free: 10.68 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003605/0.00711, allocations: 369.7 kB / 322.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.007145, allocations: 8.031 kB / 322.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.00718, allocations: 8.938 kB / 322.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.007319, allocations: 141.5 kB / 322.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.00733, allocations: 384 / 322.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.007342, allocations: 4.375 kB / 322.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.007459, allocations: 98.77 kB / 322.7 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.007467, allocations: 3.938 kB / 322.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.007475, allocations: 3.984 kB / 322.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.007481, allocations: 4 kB / 322.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.007519, allocations: 65.62 kB / 322.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.51e-05/0.007595, allocations: 67.77 kB / 322.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.503e-05/0.00766, allocations: 72.27 kB / 323 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.007699, allocations: 66.58 kB / 323 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-06/0.007703, allocations: 0 / 323 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.007725, allocations: 30.56 kB / 323 MB, free: 9.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 8.52e-07/0.007726, allocations: 4 kB / 323.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002162/0.007943, allocations: 253.8 kB / 323.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.007985, allocations: 93.03 kB / 323.4 MB, free: 9.254 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.034e-05/0.008065, allocations: 136.7 kB / 323.5 MB, free: 9.109 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.008076, allocations: 25.7 kB / 323.6 MB, free: 9.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.008103, allocations: 88.45 kB / 323.6 MB, free: 8.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.008154, allocations: 71.7 kB / 323.7 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.008185, allocations: 21.7 kB / 323.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.008272, allocations: 326.8 kB / 324 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.008319, allocations: 64.52 kB / 324.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/0.008354, allocations: 57.72 kB / 324.2 MB, free: 8.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.008449, allocations: 141.9 kB / 324.3 MB, free: 8.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008451, allocations: 0 / 324.3 MB, free: 8.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004199/0.008871, allocations: 188 kB / 324.5 MB, free: 8.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.008916, allocations: 53.67 kB / 324.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.008922, allocations: 0 / 324.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.008934, allocations: 0 / 324.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-06/0.008938, allocations: 0 / 324.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.008942, allocations: 7.875 kB / 324.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.008986, allocations: 15.89 kB / 324.6 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.009005, allocations: 4 kB / 324.6 MB, free: 7.988 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 8.212e-05/0.009087, allocations: 170.4 kB / 324.7 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.009104, allocations: 15.98 kB / 324.8 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.009122, allocations: 13.11 kB / 324.8 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.009123, allocations: 0 / 324.8 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.009126, allocations: 3.938 kB / 324.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009128, allocations: 0 / 324.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.934e-05/0.009188, allocations: 77.88 kB / 324.8 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.009189, allocations: 0 / 324.8 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.00919, allocations: 0 / 324.8 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.009192, allocations: 4 kB / 324.8 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.0092, allocations: 8 kB / 324.9 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.009201, allocations: 0 / 324.9 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.009204, allocations: 3.984 kB / 324.9 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.009395, allocations: 281.9 kB / 325.1 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.009409, allocations: 23.84 kB / 325.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.009423, allocations: 4 kB / 325.2 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.009445, allocations: 4 kB / 325.2 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.009458, allocations: 4 kB / 325.2 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.009469, allocations: 12 kB / 325.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.834e-05/0.009487, allocations: 19.66 kB / 325.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009487, allocations: 0 / 325.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.009819, allocations: 139.8 kB / 325.3 MB, free: 7.148 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.0003375/0.01016, allocations: 177.2 kB / 325.5 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.01037, allocations: 275.4 kB / 325.8 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.01037, allocations: 0 / 325.8 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.01046, allocations: 173.8 kB / 325.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.0106, allocations: 23.98 kB / 326 MB, free: 6.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.01102, allocations: 360.9 kB / 326.3 MB, free: 6.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.795e-05/0.01106, allocations: 75.58 kB / 326.4 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.766e-05/0.01107, allocations: 4 kB / 326.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.01119, allocations: 87.36 kB / 326.5 MB, free: 5.887 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01119, allocations: 0 / 326.5 MB, free: 5.887 MB / 298.7 MB Notification: Performance of Templates: time 0.005836/0.01702, allocations: 4.16 MB / 330.6 MB, free: 1.797 MB / 298.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 -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: 3.128548501059413]