Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.001505/0.001505, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001682/0.001682, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.371/1.371, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.1746/0.1746, allocations: 38.53 MB / 353.2 MB, free: 12.57 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.Line,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.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,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.Line") [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.001969/0.001969, allocations: 67.89 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2923, allocations: 62.47 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.006504/0.2988, allocations: 5.354 MB / 0.5485 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.302, allocations: 1.799 MB / 0.5502 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.3023, allocations: 26.53 kB / 0.5502 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.3035, allocations: 459.2 kB / 0.5507 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006893/0.3042, allocations: 307.5 kB / 0.551 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009861/0.3052, allocations: 368.3 kB / 0.5513 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009162/0.3061, allocations: 0.7774 MB / 0.5521 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.3066, allocations: 311.8 kB / 0.5524 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.3072, allocations: 351.8 kB / 0.5527 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.3079, allocations: 0.4907 MB / 0.5532 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.911e-05/0.308, allocations: 50.75 kB / 0.5532 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.3084, allocations: 191.8 kB / 0.5534 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.3086, allocations: 294.5 kB / 0.5537 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.309, allocations: 343.2 kB / 0.554 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009425/0.31, allocations: 0.814 MB / 0.5548 GB, free: 7.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.31, allocations: 5.203 kB / 0.5548 GB, free: 7.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.31, allocations: 4 kB / 0.5548 GB, free: 7.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.31, allocations: 0 / 0.5548 GB, free: 7.953 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00168/0.3117, allocations: 0.8592 MB / 0.5557 GB, free: 7.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3117, allocations: 12.89 kB / 0.5557 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.3128, allocations: 174.7 kB / 0.5559 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.3138, allocations: 480.2 kB / 0.5563 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/0.3139, allocations: 39.45 kB / 0.5563 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003848/0.3142, allocations: 132.1 kB / 0.5565 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.3156, allocations: 0.8637 MB / 0.5573 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.3156, allocations: 0 / 0.5573 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.3156, allocations: 20 kB / 0.5573 GB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004143/0.3161, allocations: 72.92 kB / 0.5574 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009948/0.317, allocations: 0.6243 MB / 0.558 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004859/0.3219, allocations: 3.716 MB / 0.5616 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.323, allocations: 0.5188 MB / 0.5622 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.3234, allocations: 314.9 kB / 0.5625 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.3235, allocations: 8.422 kB / 0.5625 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.3235, allocations: 46.88 kB / 0.5625 GB, free: 408 kB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 5.17e-06/0.3235, allocations: 7.922 kB / 0.5625 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003071/0.3266, allocations: 1.777 MB / 0.5642 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.3267, allocations: 81.55 kB / 0.5643 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.3271, allocations: 421.8 kB / 0.5647 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.3272, allocations: 33.7 kB / 0.5648 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.3274, allocations: 344.5 kB / 0.5651 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.3276, allocations: 202.3 kB / 0.5653 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.3278, allocations: 158.2 kB / 0.5654 GB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.328, allocations: 370.7 kB / 0.5658 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.3285, allocations: 373.5 kB / 0.5661 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/0.3293, allocations: 0.5979 MB / 0.5667 GB, free: 11.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.3306, allocations: 1.058 MB / 0.5678 GB, free: 10.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3307, allocations: 11.98 kB / 0.5678 GB, free: 10.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004314/0.335, allocations: 1.966 MB / 0.5697 GB, free: 8.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.335, allocations: 8 kB / 0.5697 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.335, allocations: 8.656 kB / 0.5697 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/0.3374, allocations: 0.9651 MB / 0.5706 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.3378, allocations: 119.8 kB / 0.5708 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.3492, allocations: 7.995 MB / 0.5786 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/0.3498, allocations: 35.97 kB / 0.5786 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/0.3499, allocations: 32 kB / 0.5786 GB, free: 15.35 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000409/0.3503, allocations: 249.5 kB / 0.5789 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.3504, allocations: 51.67 kB / 0.5789 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.3517, allocations: 0.7334 MB / 0.5796 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3517, allocations: 8 kB / 0.5796 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3517, allocations: 0 / 0.5796 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3517, allocations: 3.984 kB / 0.5797 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/0.3544, allocations: 1.488 MB / 0.5811 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3544, allocations: 3.938 kB / 0.5811 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.3555, allocations: 187.8 kB / 0.5813 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.3555, allocations: 3.984 kB / 0.5813 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/0.3555, allocations: 36.02 kB / 0.5813 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.3555, allocations: 4 kB / 0.5813 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.3555, allocations: 0 / 0.5813 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.357, allocations: 0.9975 MB / 0.5823 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.3571, allocations: 55.61 kB / 0.5824 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.3572, allocations: 23.98 kB / 0.5824 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.3576, allocations: 32.03 kB / 0.5824 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.3577, allocations: 32.38 kB / 0.5824 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.3577, allocations: 19.98 kB / 0.5825 GB, free: 11.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003437/0.358, allocations: 279.1 kB / 0.5827 GB, free: 11.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.358, allocations: 0 / 0.5827 GB, free: 11.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008788/0.3589, allocations: 216 kB / 0.5829 GB, free: 10.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * 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 0.000164/0.3591, allocations: 127.1 kB / 0.5831 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002615/0.3617, allocations: 1.429 MB / 0.5844 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3617, allocations: 0 / 0.5844 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.3622, allocations: 294.9 kB / 0.5847 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.3628, allocations: 132.8 kB / 0.5849 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.3673, allocations: 2.8 MB / 0.5876 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/0.3679, allocations: 0.9959 MB / 0.5886 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.3682, allocations: 47.42 kB / 0.5886 GB, free: 4.926 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3682, allocations: 0 / 0.5886 GB, free: 4.926 MB / 430.1 MB Notification: Performance of Templates: time 0.01556/0.3837, allocations: 11.08 MB / 0.5994 GB, free: 9.852 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Line.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" 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 [Calling sys.exit(0), Time elapsed: 13.456800309941173]