Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.0009696/0.0009696, allocations: 80.8 kB / 21.49 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.001367/0.001367, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2966/0.2966, allocations: 29.42 MB / 291.2 MB, free: 2.465 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.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.274e-05/5.526e-05, allocations: 3.406 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00752/0.007575, allocations: 4.3 MB / 321.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.01096, allocations: 1.57 MB / 322.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.01142, allocations: 23.75 kB / 322.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009144/0.01234, allocations: 234.9 kB / 323 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008471/0.01318, allocations: 282.3 kB / 323.2 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009589/0.01414, allocations: 267.2 kB / 323.5 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.01525, allocations: 0.6194 MB / 324.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.01575, allocations: 235 kB / 324.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008866/0.01664, allocations: 403 kB / 324.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.01722, allocations: 271.2 kB / 325 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.244e-05/0.0173, allocations: 36 kB / 325.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.01775, allocations: 155.6 kB / 325.2 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.01803, allocations: 231.4 kB / 325.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.01824, allocations: 175.6 kB / 325.6 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000843/0.01909, allocations: 462.4 kB / 326.1 MB, free: 6.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.01909, allocations: 4 kB / 326.1 MB, free: 6.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.01909, allocations: 3.938 kB / 326.1 MB, free: 6.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.01911, allocations: 4 kB / 326.1 MB, free: 6.734 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00132/0.02043, allocations: 0.6414 MB / 326.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.02048, allocations: 11.98 kB / 326.7 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006976/0.02117, allocations: 136.7 kB / 326.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/0.02176, allocations: 332.2 kB / 327.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.0218, allocations: 25.38 kB / 327.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.02205, allocations: 52.73 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.02268, allocations: 454.7 kB / 327.7 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.02271, allocations: 3.938 kB / 327.7 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.02275, allocations: 20 kB / 327.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.02289, allocations: 48.95 kB / 327.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.0233, allocations: 182.6 kB / 327.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.02609, allocations: 2.588 MB / 330.5 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.02639, allocations: 124.7 kB / 330.7 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.02647, allocations: 45.77 kB / 330.7 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.02651, allocations: 11.98 kB / 330.7 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.02654, allocations: 34.56 kB / 330.7 MB, free: 1.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 3.556e-06/0.02654, allocations: 0 / 330.7 MB, free: 1.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001063/0.02761, allocations: 434.3 kB / 331.2 MB, free: 1.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.02766, allocations: 85.05 kB / 331.3 MB, free: 1.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.02793, allocations: 302.7 kB / 331.5 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.02795, allocations: 29.7 kB / 331.6 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.02811, allocations: 276.4 kB / 331.8 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.02819, allocations: 91.2 kB / 331.9 MB, free: 500 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.02832, allocations: 86.09 kB / 332 MB, free: 404 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.02844, allocations: 346.7 kB / 332.4 MB, free: 48 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.02851, allocations: 32.98 kB / 332.4 MB, free: 16 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.02873, allocations: 241.8 kB / 332.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.0291, allocations: 335.7 kB / 333 MB, free: 15.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.02911, allocations: 0 / 333 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006589/0.02977, allocations: 348.2 kB / 333.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.02979, allocations: 8 kB / 333.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002947/0.03008, allocations: 143.6 kB / 333.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/0.03047, allocations: 118.6 kB / 333.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.0307, allocations: 87.83 kB / 333.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.0332, allocations: 2.522 MB / 336.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.03343, allocations: 19.94 kB / 336.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.03346, allocations: 20 kB / 336.2 MB, free: 11.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.03365, allocations: 140.5 kB / 336.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.03371, allocations: 28.03 kB / 336.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.03401, allocations: 169.1 kB / 336.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.03402, allocations: 4 kB / 336.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.03402, allocations: 0 / 336.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.03402, allocations: 3.938 kB / 336.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.03473, allocations: 436.1 kB / 337 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.03473, allocations: 0 / 337 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.03495, allocations: 55.91 kB / 337 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.03495, allocations: 4.062 kB / 337 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.03497, allocations: 11.94 kB / 337 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.03498, allocations: 4 kB / 337 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.03498, allocations: 3.938 kB / 337 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.03537, allocations: 297.8 kB / 337.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/0.03547, allocations: 43.75 kB / 337.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.03551, allocations: 11.98 kB / 337.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.03562, allocations: 4 kB / 337.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.03566, allocations: 23.84 kB / 337.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.03568, allocations: 8 kB / 337.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.0358, allocations: 112.6 kB / 337.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0358, allocations: 0 / 337.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005385/0.03634, allocations: 100 kB / 337.6 MB, free: 10.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001795/0.03652, allocations: 84.3 kB / 337.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007061/0.03723, allocations: 448 kB / 338.2 MB, free: 9.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/0.03725, allocations: 4 kB / 338.2 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.03736, allocations: 63.95 kB / 338.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.03775, allocations: 69.12 kB / 338.3 MB, free: 9.598 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.0393, allocations: 0.8394 MB / 339.1 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.03941, allocations: 145 kB / 339.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.03954, allocations: 51.25 kB / 339.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.03968, allocations: 111.3 kB / 339.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03968, allocations: 0 / 339.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of Templates: time 0.008003/0.04768, allocations: 4.174 MB / 343.6 MB, free: 4.301 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.133896925020963]