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.000878/0.000878, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001031/0.001031, allocations: 170 kB / 23.95 MB, free: 0.6094 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 0.9275/0.9275, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.233/0.233, allocations: 29.4 MB / 290.1 MB, free: 2.434 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.006e-05, allocations: 6.219 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004154/0.004174, allocations: 3.852 MB / 434.1 MB, free: 9.719 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.005459, allocations: 0.8609 MB / 434.9 MB, free: 8.855 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.005647, allocations: 19.81 kB / 434.9 MB, free: 8.836 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.005833, allocations: 35.64 kB / 435 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.006368, allocations: 182.9 kB / 435.2 MB, free: 8.621 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.006571, allocations: 87.7 kB / 435.2 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.006942, allocations: 382.5 kB / 435.6 MB, free: 8.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.007103, allocations: 60.72 kB / 435.7 MB, free: 8.098 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.00743, allocations: 227.2 kB / 435.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.007642, allocations: 151.6 kB / 436.1 MB, free: 7.727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.00767, allocations: 19.94 kB / 436.1 MB, free: 7.707 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.434e-05/0.007695, allocations: 23.94 kB / 436.1 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.007777, allocations: 87.72 kB / 436.2 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.00786, allocations: 79.83 kB / 436.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.008118, allocations: 251.1 kB / 436.5 MB, free: 7.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.008123, allocations: 0 / 436.5 MB, free: 7.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008124, allocations: 0 / 436.5 MB, free: 7.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.008129, allocations: 0 / 436.5 MB, free: 7.273 MB / 410.7 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.0007188/0.008848, allocations: 0.4944 MB / 437 MB, free: 6.746 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.008895, allocations: 19.98 kB / 437 MB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.008937, allocations: 50.73 kB / 437.1 MB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.008983, allocations: 36.73 kB / 437.1 MB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.00933, allocations: 260.3 kB / 437.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.009345, allocations: 16.88 kB / 437.4 MB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.009376, allocations: 28.06 kB / 437.4 MB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.009652, allocations: 270.7 kB / 437.7 MB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.009663, allocations: 3.938 kB / 437.7 MB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.009679, allocations: 8 kB / 437.7 MB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.009685, allocations: 7.938 kB / 437.7 MB, free: 5.996 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.009908, allocations: 159.8 kB / 437.8 MB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008956/0.0108, allocations: 1.098 MB / 438.9 MB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.01092, allocations: 73.16 kB / 439 MB, free: 4.566 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.01096, allocations: 25.78 kB / 439 MB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.01097, allocations: 0 / 439 MB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.01099, allocations: 34.56 kB / 439.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.011, allocations: 0 / 439.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005734/0.01157, allocations: 352.4 kB / 439.4 MB, free: 4.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.01169, allocations: 85.11 kB / 439.5 MB, free: 4.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.01186, allocations: 241.8 kB / 439.7 MB, free: 3.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.01187, allocations: 25.7 kB / 439.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.01196, allocations: 199.9 kB / 440 MB, free: 3.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.01199, allocations: 31.73 kB / 440 MB, free: 3.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.01203, allocations: 37.7 kB / 440 MB, free: 3.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.01211, allocations: 338.8 kB / 440.4 MB, free: 3.121 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.01214, allocations: 20.12 kB / 440.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.01222, allocations: 132 kB / 440.5 MB, free: 2.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.01235, allocations: 168.7 kB / 440.7 MB, free: 2.719 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01235, allocations: 0 / 440.7 MB, free: 2.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001698/0.01252, allocations: 181.6 kB / 440.8 MB, free: 2.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01253, allocations: 12 kB / 440.9 MB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01254, allocations: 4.156 kB / 440.9 MB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01255, allocations: 4 kB / 440.9 MB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01266, allocations: 47.8 kB / 440.9 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.01267, allocations: 7.984 kB / 440.9 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.01272, allocations: 8 kB / 440.9 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.01273, allocations: 11.98 kB / 440.9 MB, free: 2.441 MB / 410.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 (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 9.703e-05/0.01283, allocations: 145.8 kB / 441.1 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.01285, allocations: 23.86 kB / 441.1 MB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.01297, allocations: 95.39 kB / 441.2 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01297, allocations: 4 kB / 441.2 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01298, allocations: 3.938 kB / 441.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01298, allocations: 0 / 441.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.01328, allocations: 394.3 kB / 441.6 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01328, allocations: 0 / 441.6 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.01334, allocations: 15.98 kB / 441.6 MB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01334, allocations: 7.938 kB / 441.6 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.01335, allocations: 0 / 441.6 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01335, allocations: 0 / 441.6 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01335, allocations: 4.031 kB / 441.6 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.01353, allocations: 233 kB / 441.8 MB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.01355, allocations: 23.81 kB / 441.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.01357, allocations: 7.984 kB / 441.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.01362, allocations: 0 / 441.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.01363, allocations: 7.984 kB / 441.9 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.01364, allocations: 4 kB / 441.9 MB, free: 1.398 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.475e-05/0.01373, allocations: 177.1 kB / 442.1 MB, free: 1.227 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01373, allocations: 0 / 442.1 MB, free: 1.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.01394, allocations: 40 kB / 442.1 MB, free: 1.188 MB / 410.7 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 0.0003184/0.01425, allocations: 0.7572 MB / 442.9 MB, free: 408 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.01439, allocations: 87.72 kB / 442.9 MB, free: 320 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01439, allocations: 0 / 442.9 MB, free: 320 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.01457, allocations: 27.92 kB / 443 MB, free: 292 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.01489, allocations: 66.67 kB / 443 MB, free: 236 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1441/0.159, allocations: 2.244 MB / 445.3 MB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.038e-05/0.1591, allocations: 148.2 kB / 445.4 MB, free: 52.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1592, allocations: 30.77 kB / 445.4 MB, free: 52.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.1592, allocations: 71.05 kB / 445.5 MB, free: 52.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.1592, allocations: 3.25 kB / 445.5 MB, free: 52.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.1777, allocations: 4.989 MB / 450.5 MB, free: 51.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.661/6.839, allocations: 10.78 kB / 450.5 MB, free: 51.66 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","/var/lib/jenkins/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: 8.752735185436904]