Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001542/0.001542, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001859/0.001859, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.385/1.385, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.175/0.175, 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.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") [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.001928/0.001928, allocations: 67.89 kB / 493.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2853, allocations: 62.47 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006082/0.2914, allocations: 4.75 MB / 0.5479 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.2936, allocations: 1.377 MB / 0.5492 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.2938, allocations: 16.84 kB / 0.5492 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.2949, allocations: 405.7 kB / 0.5496 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005236/0.2955, allocations: 255.9 kB / 0.5499 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.2959, allocations: 172 kB / 0.55 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006559/0.2966, allocations: 0.558 MB / 0.5506 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.297, allocations: 243.2 kB / 0.5508 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.2974, allocations: 277.2 kB / 0.5511 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.2979, allocations: 294 kB / 0.5513 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.298, allocations: 30.03 kB / 0.5514 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.2983, allocations: 140 kB / 0.5515 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.2985, allocations: 185.2 kB / 0.5517 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.2987, allocations: 226.5 kB / 0.5519 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.2993, allocations: 0.5076 MB / 0.5524 GB, free: 9.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2993, allocations: 1.094 kB / 0.5524 GB, free: 9.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2993, allocations: 4 kB / 0.5524 GB, free: 9.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2993, allocations: 0 / 0.5524 GB, free: 9.68 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001274/0.3006, allocations: 0.635 MB / 0.553 GB, free: 9.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3007, allocations: 17.67 kB / 0.553 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005845/0.3012, allocations: 92.55 kB / 0.5531 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.3019, allocations: 343.9 kB / 0.5535 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.302, allocations: 26.38 kB / 0.5535 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.3021, allocations: 51.92 kB / 0.5535 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.3028, allocations: 471.2 kB / 0.554 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.3028, allocations: 1.375 kB / 0.554 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.3029, allocations: 11.75 kB / 0.554 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.303, allocations: 28.39 kB / 0.554 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.3035, allocations: 338 kB / 0.5543 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.3058, allocations: 1.642 MB / 0.5559 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.3061, allocations: 147.5 kB / 0.5561 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.3063, allocations: 94.7 kB / 0.5562 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.3063, allocations: 10.03 kB / 0.5562 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3063, allocations: 35.59 kB / 0.5562 GB, free: 6.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3063, allocations: 0.9688 kB / 0.5562 GB, free: 6.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001418/0.3077, allocations: 0.7144 MB / 0.5569 GB, free: 6.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.3078, allocations: 81.05 kB / 0.557 GB, free: 6.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.3081, allocations: 304.5 kB / 0.5573 GB, free: 5.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3082, allocations: 29.7 kB / 0.5573 GB, free: 5.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3084, allocations: 252 kB / 0.5576 GB, free: 5.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.3084, allocations: 75.53 kB / 0.5576 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.3085, allocations: 61.92 kB / 0.5577 GB, free: 5.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3087, allocations: 346.7 kB / 0.558 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3089, allocations: 88.23 kB / 0.5581 GB, free: 4.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.3091, allocations: 197.3 kB / 0.5583 GB, free: 4.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.3095, allocations: 319.1 kB / 0.5586 GB, free: 4.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3095, allocations: 4 kB / 0.5586 GB, free: 4.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008411/0.3103, allocations: 445.9 kB / 0.559 GB, free: 3.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3104, allocations: 4 kB / 0.559 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005766/0.3109, allocations: 292.1 kB / 0.5593 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004561/0.3114, allocations: 132.9 kB / 0.5594 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.3116, allocations: 55.91 kB / 0.5595 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.3145, allocations: 2.269 MB / 0.5617 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.3147, allocations: 16.05 kB / 0.5617 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.3147, allocations: 19.94 kB / 0.5617 GB, free: 0.9844 MB / 398.1 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.315, allocations: 189.7 kB / 0.5619 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.315, allocations: 31.81 kB / 0.5619 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.3155, allocations: 248.1 kB / 0.5622 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3155, allocations: 8 kB / 0.5622 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3155, allocations: 3.938 kB / 0.5622 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3155, allocations: 3.984 kB / 0.5622 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.3167, allocations: 0.6952 MB / 0.5629 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3167, allocations: 0 / 0.5629 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.3169, allocations: 44.03 kB / 0.5629 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.317, allocations: 28.84 kB / 0.5629 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.317, allocations: 8 kB / 0.563 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.3184, allocations: 1.485 MB / 0.5644 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3184, allocations: 0 / 0.5644 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.3189, allocations: 425.3 kB / 0.5648 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.319, allocations: 27.81 kB / 0.5648 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.319, allocations: 7.938 kB / 0.5648 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.3192, allocations: 12.03 kB / 0.5649 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3192, allocations: 11.98 kB / 0.5649 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3192, allocations: 8 kB / 0.5649 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000227/0.3195, allocations: 223 kB / 0.5651 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3195, allocations: 3.938 kB / 0.5651 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004821/0.3199, allocations: 84 kB / 0.5652 GB, free: 13.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.3201, allocations: 99.25 kB / 0.5653 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000714/0.3208, allocations: 389.9 kB / 0.5656 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3208, allocations: 0 / 0.5656 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.3211, allocations: 228.4 kB / 0.5659 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.3216, allocations: 68.98 kB / 0.5659 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.3232, allocations: 0.9267 MB / 0.5668 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.3237, allocations: 0.838 MB / 0.5676 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.3238, allocations: 23.44 kB / 0.5677 GB, free: 10.58 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3238, allocations: 4 kB / 0.5677 GB, free: 10.57 MB / 414.1 MB Notification: Performance of Templates: time 0.008808/0.3326, allocations: 5.763 MB / 0.5733 GB, free: 4.816 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,sensor.p[1],sensor.p[2],sensor.p[3] Variables in the result:sensor.p[1],sensor.p[2],sensor.p[3],time [Calling sys.exit(0), Time elapsed: 7.701225845841691]