Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001955/0.001955, 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.001713/0.001713, allocations: 211.5 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.554/1.554, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.34 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.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [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.00215/0.00215, allocations: 71.91 kB / 493.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3037, allocations: 62.46 MB / 0.5432 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005601/0.3093, allocations: 3.867 MB / 0.5469 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.3109, allocations: 0.8531 MB / 0.5478 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.3111, allocations: 18.09 kB / 0.5478 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.3113, allocations: 44.41 kB / 0.5478 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.3118, allocations: 161.4 kB / 0.548 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.312, allocations: 90.14 kB / 0.5481 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.3124, allocations: 376.5 kB / 0.5484 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.3126, allocations: 62.34 kB / 0.5485 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.3129, allocations: 174.3 kB / 0.5487 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.3132, allocations: 164.2 kB / 0.5488 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.3133, allocations: 16.59 kB / 0.5488 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.83e-05/0.3133, allocations: 17.44 kB / 0.5488 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3134, allocations: 85.92 kB / 0.5489 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.3136, allocations: 112.3 kB / 0.549 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.3139, allocations: 266 kB / 0.5493 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3139, allocations: 0 / 0.5493 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3139, allocations: 0 / 0.5493 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3139, allocations: 0 / 0.5493 GB, free: 11.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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008906/0.3148, allocations: 0.4889 MB / 0.5498 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3149, allocations: 12.95 kB / 0.5498 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.3149, allocations: 37.91 kB / 0.5498 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.3154, allocations: 268.6 kB / 0.5501 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3154, allocations: 19.75 kB / 0.5501 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.3155, allocations: 18 kB / 0.5501 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.3159, allocations: 266 kB / 0.5504 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3159, allocations: 0 / 0.5504 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.3159, allocations: 14.67 kB / 0.5504 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3159, allocations: 5.562 kB / 0.5504 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.3162, allocations: 159 kB / 0.5505 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.3174, allocations: 1.064 MB / 0.5516 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.3176, allocations: 77.95 kB / 0.5516 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.3176, allocations: 27.97 kB / 0.5517 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.3177, allocations: 1.25 kB / 0.5517 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.3177, allocations: 36.34 kB / 0.5517 GB, free: 9.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.3177, allocations: 0 / 0.5517 GB, free: 9.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000711/0.3184, allocations: 341.2 kB / 0.552 GB, free: 9.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.3185, allocations: 87.31 kB / 0.5521 GB, free: 9.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3187, allocations: 231.3 kB / 0.5523 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3187, allocations: 29.7 kB / 0.5524 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.3189, allocations: 192.6 kB / 0.5525 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.3189, allocations: 32.11 kB / 0.5526 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.3189, allocations: 43.83 kB / 0.5526 GB, free: 8.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3191, allocations: 334.8 kB / 0.5529 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.3191, allocations: 27.64 kB / 0.553 GB, free: 8.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3193, allocations: 124.4 kB / 0.5531 GB, free: 8.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.3195, allocations: 168.9 kB / 0.5532 GB, free: 8.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3195, allocations: 0 / 0.5532 GB, free: 8.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002722/0.3197, allocations: 179 kB / 0.5534 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3198, allocations: 5.75 kB / 0.5534 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3198, allocations: 8.062 kB / 0.5534 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3198, allocations: 8.562 kB / 0.5534 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.3199, allocations: 44.39 kB / 0.5535 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.3199, allocations: 11.83 kB / 0.5535 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.32, allocations: 4.5 kB / 0.5535 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.3201, allocations: 12.91 kB / 0.5535 GB, free: 8.086 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.3202, allocations: 155.1 kB / 0.5537 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.3203, allocations: 20.45 kB / 0.5537 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.3204, allocations: 96.39 kB / 0.5538 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3204, allocations: 5.312 kB / 0.5538 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3204, allocations: 5.219 kB / 0.5538 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3204, allocations: 1.219 kB / 0.5538 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.3209, allocations: 345.4 kB / 0.5541 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3209, allocations: 5.016 kB / 0.5541 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.321, allocations: 21.42 kB / 0.5541 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.321, allocations: 4.812 kB / 0.5541 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.321, allocations: 2.188 kB / 0.5541 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.321, allocations: 1.094 kB / 0.5541 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.321, allocations: 1.031 kB / 0.5541 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.3213, allocations: 232.5 kB / 0.5544 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.3213, allocations: 21.62 kB / 0.5544 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3213, allocations: 2.344 kB / 0.5544 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.3214, allocations: 5.188 kB / 0.5544 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.3214, allocations: 7.234 kB / 0.5544 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3215, allocations: 2.375 kB / 0.5544 GB, free: 7.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.3216, allocations: 164.1 kB / 0.5546 GB, free: 7.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3216, allocations: 0 / 0.5546 GB, free: 7.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.3219, allocations: 35.16 kB / 0.5546 GB, free: 7.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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 9.779e-05/0.322, allocations: 95.69 kB / 0.5547 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.3222, allocations: 91.44 kB / 0.5548 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3222, allocations: 1.219 kB / 0.5548 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.3223, allocations: 27.23 kB / 0.5548 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.3227, allocations: 61.28 kB / 0.5549 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.3237, allocations: 0.5375 MB / 0.5554 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.3238, allocations: 148.9 kB / 0.5555 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.3239, allocations: 19.56 kB / 0.5555 GB, free: 6.473 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3239, allocations: 0 / 0.5555 GB, free: 6.473 MB / 398.1 MB Notification: Performance of Templates: time 0.005048/0.3289, allocations: 2.766 MB / 0.5582 GB, free: 4.273 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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: 7.738324179779738]