Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.0009615/0.0009615, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.001219/0.001219, allocations: 165.2 kB / 25.61 MB, free: 8.902 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 0.9516/0.9516, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.1383/0.1383, allocations: 29.43 MB / 292 MB, free: 2.617 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.Sensor,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.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,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.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.547e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.003408/0.003424, allocations: 4.248 MB / 375.1 MB, free: 28.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.005099, allocations: 1.383 MB / 376.5 MB, free: 26.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.005288, allocations: 19.81 kB / 376.5 MB, free: 26.63 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005675/0.005856, allocations: 238.7 kB / 376.8 MB, free: 26.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.00623, allocations: 290.3 kB / 377.1 MB, free: 26.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.006675, allocations: 263.3 kB / 377.3 MB, free: 25.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.007144, allocations: 0.6662 MB / 378 MB, free: 25.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.007407, allocations: 224.4 kB / 378.2 MB, free: 24.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.007793, allocations: 415 kB / 378.6 MB, free: 24.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.008128, allocations: 387.1 kB / 379 MB, free: 24.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.008172, allocations: 44 kB / 379 MB, free: 24.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.00841, allocations: 227.5 kB / 379.3 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.00854, allocations: 263.3 kB / 379.5 MB, free: 23.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.008668, allocations: 199.5 kB / 379.7 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.00909, allocations: 0.6152 MB / 380.3 MB, free: 22.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.009092, allocations: 0 / 380.3 MB, free: 22.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.009092, allocations: 4 kB / 380.3 MB, free: 22.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.009101, allocations: 0 / 380.3 MB, free: 22.83 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.0007516/0.009853, allocations: 0.881 MB / 381.2 MB, free: 21.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.009885, allocations: 15.97 kB / 381.2 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004193/0.0103, allocations: 156.4 kB / 381.4 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.01063, allocations: 357.6 kB / 381.7 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.01065, allocations: 33.36 kB / 381.8 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.01072, allocations: 40.36 kB / 381.8 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.01118, allocations: 0.5831 MB / 382.4 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.0112, allocations: 11.88 kB / 382.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.01123, allocations: 19.98 kB / 382.4 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.432e-05/0.0113, allocations: 56.95 kB / 382.5 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.0116, allocations: 344.3 kB / 382.8 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.01304, allocations: 2.666 MB / 385.5 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.01333, allocations: 316.4 kB / 385.8 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.01346, allocations: 206 kB / 386 MB, free: 16.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.01348, allocations: 4 kB / 386 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.0135, allocations: 41.39 kB / 386 MB, free: 16.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 1.794e-06/0.0135, allocations: 0 / 386 MB, free: 16.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001005/0.0145, allocations: 1.048 MB / 387.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.01454, allocations: 138.9 kB / 387.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.0147, allocations: 342 kB / 387.5 MB, free: 15.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.01472, allocations: 33.7 kB / 387.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.0148, allocations: 307.6 kB / 387.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.01487, allocations: 206.2 kB / 388.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.01496, allocations: 103.8 kB / 388.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.01504, allocations: 0.5352 MB / 388.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.01516, allocations: 178.8 kB / 388.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.01533, allocations: 385.9 kB / 389.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.01566, allocations: 0.6084 MB / 389.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01566, allocations: 0 / 389.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004762/0.01613, allocations: 0.6477 MB / 390.5 MB, free: 12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.01617, allocations: 65.67 kB / 390.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.01618, allocations: 4 kB / 390.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.01628, allocations: 39.66 kB / 390.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.01644, allocations: 75.84 kB / 390.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005014/0.01694, allocations: 1.788 MB / 392.5 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.01708, allocations: 15.98 kB / 392.5 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.01711, allocations: 23.98 kB / 392.5 MB, free: 9.871 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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.0001308/0.01724, allocations: 254.1 kB / 392.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.01732, allocations: 67.64 kB / 392.8 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.01781, allocations: 0.6385 MB / 393.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.01782, allocations: 8 kB / 393.5 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01783, allocations: 0 / 393.5 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01783, allocations: 7.984 kB / 393.5 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008519/0.01868, allocations: 1.098 MB / 394.6 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01869, allocations: 4 kB / 394.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.0188, allocations: 47.91 kB / 394.6 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.719e-05/0.01888, allocations: 27.67 kB / 394.7 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.0189, allocations: 23.98 kB / 394.7 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000508/0.01941, allocations: 1.768 MB / 396.5 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01941, allocations: 0 / 396.5 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.01993, allocations: 0.8242 MB / 397.3 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.02002, allocations: 79.66 kB / 397.4 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.02006, allocations: 15.98 kB / 397.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.02017, allocations: 19.97 kB / 397.4 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.02023, allocations: 43.88 kB / 397.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.02026, allocations: 16 kB / 397.5 MB, free: 4.668 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.793e-05/0.02033, allocations: 210.9 kB / 397.7 MB, free: 4.457 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02033, allocations: 0 / 397.7 MB, free: 4.457 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003142/0.02064, allocations: 147.9 kB / 397.8 MB, free: 4.312 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0001514/0.02079, allocations: 139 kB / 397.9 MB, free: 4.164 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005337/0.02133, allocations: 0.8247 MB / 398.8 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.02133, allocations: 0 / 398.8 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.02171, allocations: 0.5523 MB / 399.3 MB, free: 2.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.02203, allocations: 84.48 kB / 399.4 MB, free: 2.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.02328, allocations: 1.166 MB / 400.6 MB, free: 1.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.02336, allocations: 161.7 kB / 400.7 MB, free: 1.234 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.02346, allocations: 43.3 kB / 400.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.02369, allocations: 170.1 kB / 400.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of SimCode: time 1.001e-06/0.02369, allocations: 4 kB / 400.9 MB, free: 1.023 MB / 314.7 MB Notification: Performance of Templates: time 0.01014/0.03383, allocations: 6.766 MB / 407.7 MB, free: 10.33 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.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.2320437426678836]