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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 198 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.18/0.18, allocations: 38.53 MB / 345 MB, free: 2.652 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,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=502,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 0.001856/0.001856, allocations: 67.89 kB / 482.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3059, allocations: 61.23 MB / 0.5309 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005129/0.3111, allocations: 4.6 MB / 0.5354 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3132, allocations: 1.416 MB / 0.5368 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.3134, allocations: 16.91 kB / 0.5368 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008253/0.3143, allocations: 298.6 kB / 0.5371 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.3148, allocations: 283 kB / 0.5374 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006374/0.3155, allocations: 261.5 kB / 0.5376 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005738/0.316, allocations: 0.6512 MB / 0.5383 GB, free: 308 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.3163, allocations: 196 kB / 0.5385 GB, free: 188 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.3167, allocations: 300.5 kB / 0.5387 GB, free: 16 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006468/0.3174, allocations: 444.9 kB / 0.5392 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.3174, allocations: 44.88 kB / 0.5392 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.3179, allocations: 232.3 kB / 0.5394 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.3182, allocations: 255.5 kB / 0.5397 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.3185, allocations: 287.5 kB / 0.5399 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009294/0.3194, allocations: 0.7583 MB / 0.5407 GB, free: 14.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3194, allocations: 0 / 0.5407 GB, free: 14.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3194, allocations: 0 / 0.5407 GB, free: 14.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3194, allocations: 0 / 0.5407 GB, free: 14.81 MB / 398.1 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.001618/0.3211, allocations: 0.9013 MB / 0.5416 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3211, allocations: 13.11 kB / 0.5416 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.3216, allocations: 99.61 kB / 0.5417 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.3223, allocations: 443.4 kB / 0.5421 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.3224, allocations: 29.53 kB / 0.5421 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.154e-05/0.3225, allocations: 42.52 kB / 0.5422 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.3237, allocations: 0.8621 MB / 0.543 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.3237, allocations: 2.094 kB / 0.543 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.3238, allocations: 17.3 kB / 0.543 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.3239, allocations: 68.14 kB / 0.5431 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.3251, allocations: 0.7951 MB / 0.5439 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.329, allocations: 2.713 MB / 0.5465 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008311/0.3298, allocations: 496.3 kB / 0.547 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.3303, allocations: 364.4 kB / 0.5473 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.3303, allocations: 11.55 kB / 0.5474 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.3304, allocations: 37.41 kB / 0.5474 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.625e-06/0.3304, allocations: 3.938 kB / 0.5474 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003104/0.3335, allocations: 1.897 MB / 0.5492 GB, free: 9.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3336, allocations: 141.8 kB / 0.5494 GB, free: 8.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.3339, allocations: 293.5 kB / 0.5497 GB, free: 8.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.334, allocations: 31.61 kB / 0.5497 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.3341, allocations: 270.8 kB / 0.5499 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.3343, allocations: 194.8 kB / 0.5501 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.3345, allocations: 102.4 kB / 0.5502 GB, free: 8.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3347, allocations: 354 kB / 0.5506 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.3352, allocations: 346 kB / 0.5509 GB, free: 7.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.3357, allocations: 485.7 kB / 0.5514 GB, free: 7.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.337, allocations: 0.9798 MB / 0.5523 GB, free: 6.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.337, allocations: 8 kB / 0.5523 GB, free: 6.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001515/0.3385, allocations: 0.9772 MB / 0.5533 GB, free: 5.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.887e-05/0.3386, allocations: 81.69 kB / 0.5534 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.3386, allocations: 8 kB / 0.5534 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.3388, allocations: 36.78 kB / 0.5534 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.3392, allocations: 91.81 kB / 0.5535 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.3406, allocations: 1.551 MB / 0.555 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.341, allocations: 31.97 kB / 0.555 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.341, allocations: 27.98 kB / 0.5551 GB, free: 3.289 MB / 398.1 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.0004331/0.3415, allocations: 315.2 kB / 0.5554 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.3416, allocations: 47.72 kB / 0.5554 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.3433, allocations: 1.076 MB / 0.5565 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.3433, allocations: 12 kB / 0.5565 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3433, allocations: 4 kB / 0.5565 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3433, allocations: 0 / 0.5565 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.346, allocations: 1.792 MB / 0.5582 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.346, allocations: 0 / 0.5582 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.3463, allocations: 59.91 kB / 0.5583 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.3464, allocations: 32.83 kB / 0.5583 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.3465, allocations: 23.89 kB / 0.5583 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.3479, allocations: 1.543 MB / 0.5598 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3479, allocations: 12.02 kB / 0.5599 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.3495, allocations: 1.175 MB / 0.561 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.3498, allocations: 176.8 kB / 0.5612 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.3499, allocations: 15.98 kB / 0.5612 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.3502, allocations: 23.97 kB / 0.5612 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.3503, allocations: 59.7 kB / 0.5613 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.3504, allocations: 19.98 kB / 0.5613 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.3506, allocations: 203.1 kB / 0.5615 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3506, allocations: 0 / 0.5615 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006752/0.3513, allocations: 143.9 kB / 0.5616 GB, free: 12.27 MB / 414.1 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.0002921/0.3515, allocations: 143.1 kB / 0.5617 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.3532, allocations: 1.139 MB / 0.5629 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3532, allocations: 0 / 0.5629 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009159/0.3542, allocations: 0.6907 MB / 0.5635 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.3547, allocations: 73.17 kB / 0.5636 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.357, allocations: 1.464 MB / 0.565 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.3576, allocations: 0.9014 MB / 0.5659 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3577, allocations: 31.44 kB / 0.5659 GB, free: 7.699 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3577, allocations: 0 / 0.5659 GB, free: 7.699 MB / 414.1 MB Notification: Performance of Templates: time 0.013/0.3708, allocations: 8.599 MB / 0.5743 GB, free: 15.1 MB / 430.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins1/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] "" Variables in the reference: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] Variables in the result: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],time