Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.00104/0.00104, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001117/0.001117, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9828/0.9828, allocations: 177.1 MB / 205 MB, free: 5.609 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.2615/0.2615, allocations: 29.42 MB / 290.9 MB, free: 2.512 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.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.901e-05, allocations: 2.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004331/0.00436, allocations: 4.243 MB / 373.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.006434, allocations: 1.371 MB / 375.3 MB, free: 5.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.006664, allocations: 15.88 kB / 375.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006775/0.007342, allocations: 294.5 kB / 375.6 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.007808, allocations: 230.6 kB / 375.8 MB, free: 4.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.008467, allocations: 267.1 kB / 376.1 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.009027, allocations: 0.5649 MB / 376.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.009412, allocations: 254.7 kB / 376.9 MB, free: 3.723 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.0099, allocations: 383 kB / 377.2 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.01021, allocations: 275.3 kB / 377.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.01026, allocations: 39.94 kB / 377.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.01051, allocations: 147.7 kB / 377.7 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.01069, allocations: 239.4 kB / 377.9 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.01083, allocations: 171.6 kB / 378.1 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004955/0.01132, allocations: 470.4 kB / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01133, allocations: 0 / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01133, allocations: 0 / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.01134, allocations: 0 / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0009158/0.01225, allocations: 0.8016 MB / 379.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.01229, allocations: 11.98 kB / 379.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.01283, allocations: 176.4 kB / 379.5 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.01323, allocations: 349.8 kB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.01325, allocations: 33.36 kB / 379.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.01335, allocations: 48.73 kB / 380 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.01388, allocations: 0.5063 MB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.0139, allocations: 7.938 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.01393, allocations: 16 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/0.014, allocations: 28.98 kB / 380.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.01433, allocations: 233.6 kB / 380.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.01663, allocations: 3.483 MB / 384.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.01682, allocations: 142 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.0169, allocations: 55.42 kB / 384.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.01692, allocations: 4 kB / 384.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.01695, allocations: 37.38 kB / 384.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.01695, allocations: 0 / 384.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008779/0.01783, allocations: 0.5913 MB / 385.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.01787, allocations: 81.11 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.01812, allocations: 394.5 kB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.01814, allocations: 29.7 kB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.01831, allocations: 362.5 kB / 385.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.01836, allocations: 83.27 kB / 386 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/0.01844, allocations: 95.8 kB / 386.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.01857, allocations: 0.5157 MB / 386.6 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.01865, allocations: 52.95 kB / 386.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.01887, allocations: 351.3 kB / 387 MB, free: 9.008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.01924, allocations: 444.6 kB / 387.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01924, allocations: 4 kB / 387.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005535/0.0198, allocations: 428.8 kB / 387.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.01982, allocations: 12.19 kB / 387.9 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000228/0.02004, allocations: 154.2 kB / 388 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.02029, allocations: 71.61 kB / 388.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.02047, allocations: 95.77 kB / 388.2 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.02151, allocations: 1.861 MB / 390 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.02166, allocations: 16 kB / 390 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.02169, allocations: 24 kB / 390.1 MB, free: 5.652 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.02182, allocations: 188.4 kB / 390.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.02186, allocations: 43.7 kB / 390.3 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.02213, allocations: 200.7 kB / 390.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.02213, allocations: 4 kB / 390.5 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.02213, allocations: 3.984 kB / 390.5 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.02214, allocations: 4 kB / 390.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.02277, allocations: 0.6324 MB / 391.1 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.02278, allocations: 0 / 391.1 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.02292, allocations: 59.91 kB / 391.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.02293, allocations: 0 / 391.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.02295, allocations: 16.05 kB / 391.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.02295, allocations: 4 kB / 391.2 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02295, allocations: 0 / 391.2 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.02328, allocations: 407.9 kB / 391.6 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.02331, allocations: 31.81 kB / 391.6 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.02333, allocations: 11.98 kB / 391.7 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.02341, allocations: 8 kB / 391.7 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.02344, allocations: 11.97 kB / 391.7 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.02345, allocations: 12 kB / 391.7 MB, free: 3.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.02359, allocations: 239.1 kB / 391.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02359, allocations: 4 kB / 391.9 MB, free: 3.699 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002921/0.02388, allocations: 95.94 kB / 392 MB, free: 3.605 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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 9.989e-05/0.02398, allocations: 107.2 kB / 392.1 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004259/0.02441, allocations: 400.3 kB / 392.5 MB, free: 3.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02441, allocations: 4 kB / 392.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/0.0245, allocations: 79.52 kB / 392.6 MB, free: 2.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.0248, allocations: 72.17 kB / 392.7 MB, free: 2.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.02613, allocations: 0.8535 MB / 393.5 MB, free: 2.031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.915e-05/0.02621, allocations: 141.2 kB / 393.7 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000156/0.02637, allocations: 99.16 kB / 393.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.02643, allocations: 32.44 kB / 393.8 MB, free: 1.742 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02643, allocations: 0 / 393.8 MB, free: 1.742 MB / 362.7 MB Notification: Performance of Templates: time 0.006012/0.03244, allocations: 3.738 MB / 397.5 MB, free: 14.07 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.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.0304997670464218]