Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001823/0.001823, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002404/0.002404, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1857/0.1857, allocations: 38.55 MB / 352.5 MB, free: 12.36 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) [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.002263/0.002263, allocations: 68.12 kB / 492.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3014, allocations: 62.46 MB / 0.5419 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.00603/0.3074, allocations: 4.471 MB / 0.5463 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3096, allocations: 1.273 MB / 0.5475 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.3097, allocations: 17.34 kB / 0.5476 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.3109, allocations: 398.4 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006607/0.3115, allocations: 254.2 kB / 0.5482 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.3121, allocations: 164.5 kB / 0.5483 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007737/0.3128, allocations: 0.562 MB / 0.5489 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004492/0.3133, allocations: 226.2 kB / 0.5491 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.3138, allocations: 272.9 kB / 0.5494 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.3143, allocations: 284.8 kB / 0.5496 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.3144, allocations: 29.16 kB / 0.5497 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.3146, allocations: 126.9 kB / 0.5498 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.3149, allocations: 196.6 kB / 0.55 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.3151, allocations: 184.2 kB / 0.5502 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.3157, allocations: 0.5254 MB / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3157, allocations: 0 / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3157, allocations: 1.781 kB / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.3157, allocations: 0 / 0.5507 GB, free: 10.01 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.001185/0.3169, allocations: 0.6334 MB / 0.5513 GB, free: 9.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.317, allocations: 13.86 kB / 0.5513 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.963e-05/0.3171, allocations: 76.23 kB / 0.5514 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005674/0.3176, allocations: 91.91 kB / 0.5515 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/0.3184, allocations: 348.4 kB / 0.5518 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.3184, allocations: 27.81 kB / 0.5518 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3185, allocations: 51.06 kB / 0.5519 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.3193, allocations: 477 kB / 0.5523 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.3193, allocations: 5.031 kB / 0.5523 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.3193, allocations: 15.66 kB / 0.5523 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.3195, allocations: 24.77 kB / 0.5524 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/0.3201, allocations: 352.1 kB / 0.5527 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.3224, allocations: 1.482 MB / 0.5541 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.3227, allocations: 140.8 kB / 0.5543 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.3229, allocations: 120.9 kB / 0.5544 GB, free: 7.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3229, allocations: 2.531 kB / 0.5544 GB, free: 7.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3229, allocations: 40.66 kB / 0.5544 GB, free: 7.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3229, allocations: 0 / 0.5544 GB, free: 7.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001495/0.3244, allocations: 0.7411 MB / 0.5552 GB, free: 6.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.3245, allocations: 79.33 kB / 0.5552 GB, free: 6.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.3249, allocations: 319.3 kB / 0.5555 GB, free: 6.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.3249, allocations: 29.7 kB / 0.5556 GB, free: 6.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.3251, allocations: 256 kB / 0.5558 GB, free: 5.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/0.3251, allocations: 71.58 kB / 0.5559 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3252, allocations: 61.94 kB / 0.5559 GB, free: 5.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3254, allocations: 342.8 kB / 0.5563 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3256, allocations: 100.2 kB / 0.5564 GB, free: 5.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.3258, allocations: 201.3 kB / 0.5566 GB, free: 5.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.3263, allocations: 326.7 kB / 0.5569 GB, free: 4.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3263, allocations: 0 / 0.5569 GB, free: 4.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009418/0.3272, allocations: 473.5 kB / 0.5573 GB, free: 4.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3273, allocations: 8 kB / 0.5573 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006996/0.328, allocations: 307.2 kB / 0.5576 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.3285, allocations: 141.1 kB / 0.5578 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.3287, allocations: 55.91 kB / 0.5578 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/0.3318, allocations: 2.319 MB / 0.5601 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.332, allocations: 11.98 kB / 0.5601 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.3321, allocations: 16 kB / 0.5601 GB, free: 1.348 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.0002653/0.3323, allocations: 193.7 kB / 0.5603 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.3324, allocations: 27.81 kB / 0.5603 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/0.3329, allocations: 272.2 kB / 0.5606 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3329, allocations: 0 / 0.5606 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3329, allocations: 0 / 0.5606 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3329, allocations: 4 kB / 0.5606 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.3341, allocations: 0.6834 MB / 0.5612 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3341, allocations: 4 kB / 0.5612 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.3343, allocations: 40.05 kB / 0.5613 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.3344, allocations: 32.83 kB / 0.5613 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3344, allocations: 8 kB / 0.5613 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3344, allocations: 4 kB / 0.5613 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3344, allocations: 3.938 kB / 0.5613 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.3351, allocations: 445.1 kB / 0.5618 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.3351, allocations: 35.84 kB / 0.5618 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.3352, allocations: 4 kB / 0.5618 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.3353, allocations: 8 kB / 0.5618 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3354, allocations: 19.91 kB / 0.5618 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3354, allocations: 12 kB / 0.5618 GB, free: 15.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.3356, allocations: 223 kB / 0.562 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3356, allocations: 0 / 0.562 GB, free: 15.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004831/0.3361, allocations: 88 kB / 0.5621 GB, free: 15.16 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009811/0.3371, allocations: 0.9653 MB / 0.5631 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007533/0.3378, allocations: 402.4 kB / 0.5635 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3378, allocations: 0 / 0.5635 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.338, allocations: 96.75 kB / 0.5635 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.3385, allocations: 77.27 kB / 0.5636 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/0.3434, allocations: 3.574 MB / 0.5671 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3437, allocations: 237.1 kB / 0.5673 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.3439, allocations: 62.91 kB / 0.5674 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.3441, allocations: 119.4 kB / 0.5675 GB, free: 9.383 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3441, allocations: 0 / 0.5675 GB, free: 9.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04139/0.3855, allocations: 7.916 MB / 0.5752 GB, free: 1.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.63, allocations: 10.95 kB / 0.5752 GB, free: 1.629 MB / 414.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! Error: Could not read variable sensor.p[1] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable sensor.p[1] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! Error: Could not read variable sensor.p[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable sensor.p[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! Error: Could not read variable sensor.p[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable sensor.p[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.574256401043385]