Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001764/0.001764, allocations: 80.8 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.00126/0.00126, allocations: 172.7 kB / 24.91 MB, free: 9.195 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2528/0.2528, allocations: 29.42 MB / 291.2 MB, free: 2.469 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_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.399e-05, allocations: 6.312 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002686/0.00271, allocations: 2.324 MB / 319.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.005113, allocations: 1.98 MB / 321.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.005168, allocations: 0 / 321.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.005292, allocations: 15.91 kB / 321.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.03e-05/0.005372, allocations: 31.72 kB / 321.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.007233, allocations: 0.9233 MB / 322.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.007347, allocations: 83.61 kB / 322.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.007385, allocations: 4.188 kB / 322.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.007512, allocations: 39.89 kB / 322.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.007578, allocations: 31.89 kB / 322.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.007588, allocations: 4 kB / 322.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.009858, allocations: 1.948 MB / 324.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.009902, allocations: 23.94 kB / 324.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.009931, allocations: 11.92 kB / 324.3 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.01135, allocations: 1.496 MB / 325.8 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.01136, allocations: 0 / 325.8 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01136, allocations: 0 / 325.8 MB, free: 7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.01136, allocations: 0 / 325.8 MB, free: 7 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004598/0.01182, allocations: 444.6 kB / 326.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.01186, allocations: 11.98 kB / 326.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.01188, allocations: 4.938 kB / 326.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.012, allocations: 133.6 kB / 326.4 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.01201, allocations: 7.938 kB / 326.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-06/0.01202, allocations: 0 / 326.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.01212, allocations: 90.73 kB / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.01213, allocations: 0 / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.01214, allocations: 0 / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.01214, allocations: 0 / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.574e-05/0.01221, allocations: 45.62 kB / 326.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.904e-05/0.01227, allocations: 59.88 kB / 326.6 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.279e-05/0.01232, allocations: 64.22 kB / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.01235, allocations: 51.67 kB / 326.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-06/0.01235, allocations: 0 / 326.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.01237, allocations: 38.5 kB / 326.7 MB, free: 5.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 6.71e-07/0.01237, allocations: 0 / 326.7 MB, free: 5.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.000157/0.01253, allocations: 182.8 kB / 326.9 MB, free: 5.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.01257, allocations: 89.05 kB / 327 MB, free: 5.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/0.01264, allocations: 129 kB / 327.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.01265, allocations: 29.7 kB / 327.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.01268, allocations: 88.11 kB / 327.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.01271, allocations: 43.64 kB / 327.3 MB, free: 5.332 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.01274, allocations: 17.7 kB / 327.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.0129, allocations: 326.8 kB / 327.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.01293, allocations: 52.56 kB / 327.7 MB, free: 4.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.01296, allocations: 43 kB / 327.7 MB, free: 4.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.039e-05/0.01303, allocations: 114.6 kB / 327.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01303, allocations: 0 / 327.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.406e-05/0.01313, allocations: 129 kB / 328 MB, free: 4.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.01316, allocations: 53.62 kB / 328 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01317, allocations: 0 / 328 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.01318, allocations: 0 / 328 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.01318, allocations: 0 / 328 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.01318, allocations: 3.984 kB / 328 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.01322, allocations: 7.938 kB / 328 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01323, allocations: 8.062 kB / 328 MB, free: 4.523 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 7.268e-05/0.01331, allocations: 154.4 kB / 328.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.01332, allocations: 15.92 kB / 328.2 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.01334, allocations: 8.781 kB / 328.2 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01334, allocations: 0 / 328.2 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01334, allocations: 4 kB / 328.2 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.01334, allocations: 0 / 328.2 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.913e-05/0.0134, allocations: 77.83 kB / 328.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.0134, allocations: 0 / 328.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.01341, allocations: 0 / 328.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01341, allocations: 8 kB / 328.3 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01341, allocations: 3.984 kB / 328.3 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01342, allocations: 7.875 kB / 328.3 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01342, allocations: 4 kB / 328.3 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.01356, allocations: 199.6 kB / 328.5 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.01357, allocations: 11.89 kB / 328.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.01358, allocations: 0 / 328.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.0136, allocations: 7.938 kB / 328.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.01361, allocations: 0 / 328.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.01362, allocations: 4 kB / 328.5 MB, free: 3.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.05e-05/0.01364, allocations: 27.66 kB / 328.6 MB, free: 3.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01364, allocations: 4.031 kB / 328.6 MB, free: 3.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005278/0.01416, allocations: 323.4 kB / 328.9 MB, free: 3.613 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.0007812/0.01494, allocations: 402.7 kB / 329.3 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.0151, allocations: 193.9 kB / 329.5 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.0151, allocations: 4 kB / 329.5 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.086e-05/0.01517, allocations: 125.9 kB / 329.6 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.01527, allocations: 16.06 kB / 329.6 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.01574, allocations: 292.1 kB / 329.9 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.01577, allocations: 67.33 kB / 330 MB, free: 2.434 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.214e-05/0.01579, allocations: 4 kB / 330 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.01586, allocations: 67.38 kB / 330 MB, free: 2.363 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01586, allocations: 4 kB / 330 MB, free: 2.359 MB / 298.7 MB Notification: Performance of Templates: time 0.009641/0.0255, allocations: 7.554 MB / 337.6 MB, free: 10.81 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.1054557217285037]