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.001616/0.001616, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002206/0.002206, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.746 MB / 206.1 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.1856/0.1856, allocations: 38.55 MB / 353.2 MB, free: 12.3 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 63.91 kB / 493.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3018, allocations: 62.47 MB / 0.5432 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006263/0.308, allocations: 4.409 MB / 0.5475 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.3107, allocations: 1.36 MB / 0.5488 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.3109, allocations: 21.09 kB / 0.5488 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009228/0.3119, allocations: 286.8 kB / 0.5491 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006778/0.3125, allocations: 287.9 kB / 0.5494 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.3133, allocations: 258.6 kB / 0.5496 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007195/0.314, allocations: 0.6586 MB / 0.5503 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.3143, allocations: 210.1 kB / 0.5505 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.3148, allocations: 313.9 kB / 0.5508 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000634/0.3155, allocations: 428.3 kB / 0.5512 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.3155, allocations: 45.12 kB / 0.5512 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.316, allocations: 216.8 kB / 0.5514 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.3163, allocations: 267.2 kB / 0.5517 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.3166, allocations: 237 kB / 0.5519 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009477/0.3175, allocations: 0.7587 MB / 0.5526 GB, free: 9.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3175, allocations: 0 / 0.5526 GB, free: 9.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3175, allocations: 0 / 0.5526 GB, free: 9.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.3175, allocations: 1.438 kB / 0.5526 GB, free: 9.52 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.001639/0.3192, allocations: 0.8266 MB / 0.5534 GB, free: 8.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3192, allocations: 12.83 kB / 0.5535 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007412/0.32, allocations: 135.9 kB / 0.5536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.3208, allocations: 373.3 kB / 0.5539 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.3208, allocations: 30.8 kB / 0.554 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.3209, allocations: 42.62 kB / 0.554 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3223, allocations: 0.9387 MB / 0.5549 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.3223, allocations: 1.031 kB / 0.5549 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.3224, allocations: 25.55 kB / 0.555 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.3225, allocations: 63.52 kB / 0.555 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.3239, allocations: 0.8629 MB / 0.5559 GB, free: 7.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004036/0.3279, allocations: 2.466 MB / 0.5583 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.3289, allocations: 0.558 MB / 0.5588 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.3295, allocations: 436.3 kB / 0.5592 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.3295, allocations: 4 kB / 0.5592 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.3295, allocations: 42.44 kB / 0.5593 GB, free: 3.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.535e-06/0.3295, allocations: 0 / 0.5593 GB, free: 3.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003344/0.3329, allocations: 2.009 MB / 0.5612 GB, free: 1.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.333, allocations: 130.8 kB / 0.5614 GB, free: 1.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.3333, allocations: 308.4 kB / 0.5617 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.3334, allocations: 33.7 kB / 0.5617 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3336, allocations: 260.9 kB / 0.5619 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.3337, allocations: 202.2 kB / 0.5621 GB, free: 380 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.3339, allocations: 98.06 kB / 0.5622 GB, free: 276 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3341, allocations: 354.7 kB / 0.5626 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/0.3347, allocations: 426.6 kB / 0.563 GB, free: 15.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.3353, allocations: 0.5464 MB / 0.5635 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.3367, allocations: 1.015 MB / 0.5645 GB, free: 13.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3367, allocations: 4 kB / 0.5645 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001627/0.3383, allocations: 1.081 MB / 0.5655 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/0.3384, allocations: 73.66 kB / 0.5656 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3384, allocations: 4 kB / 0.5656 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.3386, allocations: 48.77 kB / 0.5657 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.339, allocations: 83.83 kB / 0.5657 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.3404, allocations: 1.429 MB / 0.5671 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.3407, allocations: 35.97 kB / 0.5672 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.3408, allocations: 24 kB / 0.5672 GB, free: 10.89 MB / 414.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.0004064/0.3412, allocations: 299.2 kB / 0.5675 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3413, allocations: 47.72 kB / 0.5675 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.343, allocations: 1.132 MB / 0.5686 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/0.3431, allocations: 20.05 kB / 0.5687 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3431, allocations: 3.938 kB / 0.5687 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3431, allocations: 0 / 0.5687 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.3459, allocations: 1.691 MB / 0.5703 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.3459, allocations: 11.94 kB / 0.5703 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.3462, allocations: 55.89 kB / 0.5704 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/0.3463, allocations: 36.84 kB / 0.5704 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.3463, allocations: 11.98 kB / 0.5704 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.3477, allocations: 1.425 MB / 0.5718 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3477, allocations: 3.938 kB / 0.5718 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.3494, allocations: 1.23 MB / 0.573 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.3497, allocations: 107.6 kB / 0.5731 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.3498, allocations: 12 kB / 0.5731 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.3501, allocations: 23.97 kB / 0.5732 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.3502, allocations: 43.98 kB / 0.5732 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.3503, allocations: 23.98 kB / 0.5732 GB, free: 4.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002341/0.3505, allocations: 210.9 kB / 0.5734 GB, free: 4.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3505, allocations: 0 / 0.5734 GB, free: 4.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006123/0.3511, allocations: 144 kB / 0.5736 GB, free: 4.121 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.0002647/0.3514, allocations: 137 kB / 0.5737 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.3532, allocations: 1.272 MB / 0.5749 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3532, allocations: 0 / 0.5749 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009656/0.3542, allocations: 0.7393 MB / 0.5757 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.3547, allocations: 82.88 kB / 0.5757 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3571, allocations: 1.541 MB / 0.5772 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.3575, allocations: 306.5 kB / 0.5775 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3576, allocations: 35.42 kB / 0.5776 GB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3576, allocations: 0 / 0.5776 GB, free: 15.88 MB / 430.1 MB Notification: Performance of Templates: time 0.01346/0.3711, allocations: 8.783 MB / 0.5861 GB, free: 7.102 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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.320239519700408]