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.001482/0.001482, allocations: 84.34 kB / 20.96 MB, free: 3.445 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.001641/0.001641, allocations: 165.3 kB / 24.27 MB, free: 140 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 1.598/1.598, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3083/0.3083, allocations: 29.41 MB / 290.5 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.255e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007713/0.007746, allocations: 4.412 MB / 373.3 MB, free: 6.879 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.01102, allocations: 1.359 MB / 374.7 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003869/0.01141, allocations: 19.81 kB / 374.7 MB, free: 5.496 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.01258, allocations: 286.6 kB / 375 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009398/0.01352, allocations: 298.2 kB / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.01445, allocations: 263.2 kB / 375.5 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.01582, allocations: 0.6701 MB / 376.2 MB, free: 3.992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.01638, allocations: 212.5 kB / 376.4 MB, free: 3.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.01738, allocations: 402.8 kB / 376.8 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008626/0.01825, allocations: 403 kB / 377.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.01842, allocations: 44 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.01905, allocations: 223.6 kB / 377.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.01945, allocations: 263.3 kB / 377.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004549/0.0199, allocations: 199.5 kB / 377.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.02122, allocations: 0.8061 MB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.02122, allocations: 0 / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02122, allocations: 0 / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.167e-05/0.02126, allocations: 0 / 378.7 MB, free: 1.469 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002127/0.02338, allocations: 0.8085 MB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.02344, allocations: 15.98 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.02444, allocations: 192.3 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008795/0.02532, allocations: 395.7 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.497e-05/0.02539, allocations: 33.45 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.0255, allocations: 36.38 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.02716, allocations: 0.9393 MB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.02719, allocations: 3.938 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/0.02726, allocations: 19.98 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/0.02742, allocations: 60.95 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.02898, allocations: 0.8682 MB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.03384, allocations: 2.491 MB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.03488, allocations: 0.5541 MB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006312/0.03552, allocations: 436.2 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.03556, allocations: 8 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.03561, allocations: 38.56 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.334e-06/0.03561, allocations: 0 / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.003881/0.03949, allocations: 2.013 MB / 387.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/0.03967, allocations: 138.8 kB / 387.7 MB, free: 8.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.04023, allocations: 304.3 kB / 388 MB, free: 7.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.04028, allocations: 29.7 kB / 388 MB, free: 7.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.04057, allocations: 268.9 kB / 388.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.0408, allocations: 190.3 kB / 388.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.04102, allocations: 98.12 kB / 388.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.04126, allocations: 354.8 kB / 388.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.04194, allocations: 414.6 kB / 389.3 MB, free: 6.441 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/0.04278, allocations: 0.5504 MB / 389.9 MB, free: 5.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.04459, allocations: 1.021 MB / 390.9 MB, free: 4.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.04459, allocations: 0 / 390.9 MB, free: 4.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001946/0.04654, allocations: 1.098 MB / 392 MB, free: 3.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.04669, allocations: 73.66 kB / 392.1 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.04671, allocations: 4 kB / 392.1 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.04704, allocations: 44.83 kB / 392.1 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.04743, allocations: 83.83 kB / 392.2 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.04941, allocations: 1.433 MB / 393.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.0498, allocations: 32.11 kB / 393.7 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.04988, allocations: 28 kB / 393.7 MB, free: 1.812 MB / 362.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.0004507/0.05033, allocations: 307.2 kB / 394 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.05052, allocations: 75.66 kB / 394.1 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.05242, allocations: 1.128 MB / 395.2 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.05245, allocations: 8 kB / 395.2 MB, free: 268 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.05245, allocations: 7.938 kB / 395.2 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.05246, allocations: 0 / 395.2 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.05549, allocations: 1.699 MB / 396.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.05549, allocations: 3.984 kB / 396.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.05606, allocations: 59.84 kB / 397 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/0.05621, allocations: 36.89 kB / 397 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.05626, allocations: 16 kB / 397 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.05785, allocations: 1.417 MB / 398.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.05785, allocations: 0 / 398.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.05986, allocations: 1.254 MB / 399.7 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.06013, allocations: 99.81 kB / 399.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.06021, allocations: 27.95 kB / 399.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.06051, allocations: 27.97 kB / 399.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.06067, allocations: 47.88 kB / 399.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.06072, allocations: 12 kB / 399.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002564/0.06098, allocations: 203.1 kB / 400.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06098, allocations: 0 / 400.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006334/0.06161, allocations: 151.9 kB / 400.3 MB, free: 11 MB / 378.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.0003037/0.06192, allocations: 139.1 kB / 400.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.06393, allocations: 1.265 MB / 401.7 MB, free: 9.555 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.06393, allocations: 4 kB / 401.7 MB, free: 9.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.06505, allocations: 0.7435 MB / 402.4 MB, free: 8.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.06563, allocations: 80 kB / 402.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.06821, allocations: 1.479 MB / 404 MB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/0.06888, allocations: 302.5 kB / 404.3 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.06918, allocations: 103.2 kB / 404.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.06929, allocations: 28.5 kB / 404.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of SimCode: time 1.472e-06/0.06929, allocations: 0 / 404.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of Templates: time 0.01399/0.08329, allocations: 6.202 MB / 410.6 MB, free: 0.5938 MB / 378.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1100434579420835]