Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.001083/0.001083, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001259/0.001259, allocations: 165.9 kB / 24.99 MB, free: 8.336 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 1.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2556/0.2556, allocations: 29.41 MB / 291.2 MB, free: 2.523 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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.561e-05, allocations: 9.828 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004399/0.004415, allocations: 5.016 MB / 374.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.006243, allocations: 1.293 MB / 375.9 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.006446, allocations: 19.81 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.006819, allocations: 119 kB / 376.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005407/0.00736, allocations: 346.1 kB / 376.4 MB, free: 4.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.007737, allocations: 167.6 kB / 376.6 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.008307, allocations: 0.685 MB / 377.3 MB, free: 3.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.008484, allocations: 100.7 kB / 377.4 MB, free: 3.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.008941, allocations: 406.8 kB / 377.8 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.009382, allocations: 427 kB / 378.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.009441, allocations: 44 kB / 378.2 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.84e-05/0.009509, allocations: 48 kB / 378.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.009689, allocations: 251.3 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.009865, allocations: 207.5 kB / 378.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.01026, allocations: 446.5 kB / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.01026, allocations: 0 / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.01026, allocations: 0 / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.01027, allocations: 0 / 379.1 MB, free: 1.777 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001251/0.01152, allocations: 0.9876 MB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.01156, allocations: 15.98 kB / 380.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.01169, allocations: 84.59 kB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.01239, allocations: 0.5327 MB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.01241, allocations: 25.03 kB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.01247, allocations: 47.88 kB / 380.8 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.0129, allocations: 382.8 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.01291, allocations: 0 / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.01294, allocations: 12 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/0.01314, allocations: 92.45 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.01337, allocations: 143.8 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.01499, allocations: 1.928 MB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.01541, allocations: 225.2 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.01568, allocations: 171.3 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.0157, allocations: 4 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.01573, allocations: 41.39 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.01573, allocations: 0 / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002059/0.01779, allocations: 1.246 MB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.01783, allocations: 81.11 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.0181, allocations: 418.8 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.01813, allocations: 29.7 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.01827, allocations: 311.3 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.479e-05/0.01835, allocations: 146.8 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01845, allocations: 107.8 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.01859, allocations: 0.5313 MB / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.01871, allocations: 68.95 kB / 386.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.01891, allocations: 236.5 kB / 387 MB, free: 9.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.01924, allocations: 329 kB / 387.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.01924, allocations: 4 kB / 387.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007509/0.02, allocations: 0.5584 MB / 387.8 MB, free: 8.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.02001, allocations: 8 kB / 387.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.02002, allocations: 4 kB / 387.8 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.02055, allocations: 219.1 kB / 388.1 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.02073, allocations: 87.89 kB / 388.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.02325, allocations: 4.509 MB / 392.7 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.02341, allocations: 48 kB / 392.7 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.02343, allocations: 20 kB / 392.7 MB, free: 3.445 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * 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%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.02355, allocations: 188.4 kB / 392.9 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.02362, allocations: 55.66 kB / 393 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006443/0.02426, allocations: 459 kB / 393.4 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02426, allocations: 4 kB / 393.4 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.02427, allocations: 12.12 kB / 393.4 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.02428, allocations: 7.922 kB / 393.4 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.02529, allocations: 0.8654 MB / 394.3 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02529, allocations: 0 / 394.3 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.02539, allocations: 43.91 kB / 394.3 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005792/0.02597, allocations: 293.4 kB / 394.6 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.02601, allocations: 31.97 kB / 394.7 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/0.02942, allocations: 7.175 MB / 401.8 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02942, allocations: 4 kB / 401.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.03019, allocations: 0.6778 MB / 402.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.03023, allocations: 43.7 kB / 402.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.03028, allocations: 27.97 kB / 402.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.03042, allocations: 35.95 kB / 402.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.03049, allocations: 35.92 kB / 402.7 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.03051, allocations: 15.92 kB / 402.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.03067, allocations: 267.1 kB / 402.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03067, allocations: 0 / 402.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.03108, allocations: 155.9 kB / 403.1 MB, free: 8.379 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (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.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]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.0312, allocations: 123.2 kB / 403.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008488/0.03205, allocations: 0.7303 MB / 403.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03205, allocations: 0 / 403.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.0328, allocations: 0.9633 MB / 404.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.03323, allocations: 113.6 kB / 405 MB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.03505, allocations: 1.344 MB / 406.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.03515, allocations: 145.7 kB / 406.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.03529, allocations: 68.33 kB / 406.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.03535, allocations: 32.5 kB / 406.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03535, allocations: 0 / 406.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of Templates: time 0.009898/0.04525, allocations: 8.088 MB / 414.7 MB, free: 12.7 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.3822376809548587]