Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.0008418/0.0008418, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0007903/0.0007903, allocations: 174.3 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.9494/0.9494, 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.2318/0.2318, allocations: 29.39 MB / 290.1 MB, free: 2.449 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.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.436e-05/3.724e-05, allocations: 7.266 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.0044/0.004438, allocations: 4.004 MB / 434.2 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.005686, allocations: 0.8296 MB / 435.1 MB, free: 8.738 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.005864, allocations: 11.88 kB / 435.1 MB, free: 8.727 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.00606, allocations: 47.5 kB / 435.1 MB, free: 8.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.006532, allocations: 178.8 kB / 435.3 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.006723, allocations: 91.75 kB / 435.4 MB, free: 8.414 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.00706, allocations: 414.3 kB / 435.8 MB, free: 8.008 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.007236, allocations: 70.69 kB / 435.9 MB, free: 7.934 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.00756, allocations: 247.2 kB / 436.1 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.007775, allocations: 159.5 kB / 436.2 MB, free: 7.535 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.007806, allocations: 23.94 kB / 436.3 MB, free: 7.512 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.22e-05/0.007838, allocations: 24 kB / 436.3 MB, free: 7.488 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.007916, allocations: 91.66 kB / 436.4 MB, free: 7.398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.008001, allocations: 99.75 kB / 436.5 MB, free: 7.301 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.008277, allocations: 290.9 kB / 436.8 MB, free: 7.016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.008281, allocations: 3.984 kB / 436.8 MB, free: 7.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008283, allocations: 0 / 436.8 MB, free: 7.012 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.008289, allocations: 0 / 436.8 MB, free: 7.012 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007462/0.009035, allocations: 0.5217 MB / 437.3 MB, free: 6.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.00908, allocations: 11.98 kB / 437.3 MB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.009132, allocations: 58.73 kB / 437.4 MB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.932e-05/0.009222, allocations: 40.69 kB / 437.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.009606, allocations: 265.1 kB / 437.7 MB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.009624, allocations: 20.88 kB / 437.7 MB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.373e-05/0.009708, allocations: 28.75 kB / 437.7 MB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.01002, allocations: 294.8 kB / 438 MB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.01003, allocations: 0 / 438 MB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.01005, allocations: 12 kB / 438 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.01006, allocations: 4 kB / 438 MB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.01031, allocations: 191.5 kB / 438.2 MB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.0114, allocations: 1.199 MB / 439.4 MB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.01164, allocations: 115.8 kB / 439.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.0117, allocations: 50.62 kB / 439.6 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.01172, allocations: 4 kB / 439.6 MB, free: 4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.01175, allocations: 42.48 kB / 439.6 MB, free: 3.949 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.01175, allocations: 0 / 439.6 MB, free: 3.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007781/0.01252, allocations: 467.7 kB / 440.1 MB, free: 3.457 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.01258, allocations: 106.8 kB / 440.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.01277, allocations: 245.9 kB / 440.4 MB, free: 3.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.01278, allocations: 25.7 kB / 440.4 MB, free: 3.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.01289, allocations: 196.1 kB / 440.6 MB, free: 2.855 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.01292, allocations: 43.92 kB / 440.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.01298, allocations: 49.66 kB / 440.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.01309, allocations: 338.8 kB / 441 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.01316, allocations: 39.98 kB / 441.1 MB, free: 2.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.01326, allocations: 131.1 kB / 441.2 MB, free: 2.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.01344, allocations: 199.7 kB / 441.4 MB, free: 1.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01344, allocations: 4 kB / 441.4 MB, free: 1.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002926/0.01373, allocations: 230.2 kB / 441.6 MB, free: 1.734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.01375, allocations: 8.781 kB / 441.6 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.01376, allocations: 4 kB / 441.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.01386, allocations: 24.84 kB / 441.7 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.01404, allocations: 67.88 kB / 441.7 MB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.01405, allocations: 4 kB / 441.7 MB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.01412, allocations: 7.938 kB / 441.8 MB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.01413, allocations: 12 kB / 441.8 MB, free: 1.605 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 prepare postOptimizeDAE: time 0.0001118/0.01424, allocations: 157.9 kB / 441.9 MB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.01427, allocations: 19.86 kB / 441.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.01447, allocations: 155.2 kB / 442.1 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01447, allocations: 0 / 442.1 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.01447, allocations: 4 kB / 442.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01448, allocations: 3.938 kB / 442.1 MB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.01471, allocations: 236.7 kB / 442.3 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01471, allocations: 4 kB / 442.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.447e-05/0.0148, allocations: 23.98 kB / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.0148, allocations: 4 kB / 442.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.01481, allocations: 8 kB / 442.4 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01481, allocations: 0 / 442.4 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01482, allocations: 4 kB / 442.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.01509, allocations: 363.4 kB / 442.7 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.01512, allocations: 23.88 kB / 442.7 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01514, allocations: 4 kB / 442.8 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.01521, allocations: 0 / 442.8 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.01523, allocations: 11.92 kB / 442.8 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.01524, allocations: 8 kB / 442.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.01534, allocations: 177.3 kB / 442.9 MB, free: 344 kB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01534, allocations: 0 / 442.9 MB, free: 344 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.01558, allocations: 48 kB / 443 MB, free: 296 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.1996/0.2152, allocations: 0.8815 MB / 443.9 MB, free: 53.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.2156, allocations: 132.1 kB / 444 MB, free: 53.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2156, allocations: 0.5312 kB / 444 MB, free: 53.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.2156, allocations: 46.83 kB / 444 MB, free: 53.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.216, allocations: 67.75 kB / 444.1 MB, free: 53.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.2182, allocations: 2.556 MB / 446.7 MB, free: 52.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.2183, allocations: 159.3 kB / 446.8 MB, free: 52.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.433e-05/0.2184, allocations: 28.52 kB / 446.9 MB, free: 52.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.574e-05/0.2184, allocations: 93.31 kB / 446.9 MB, free: 52.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2185, allocations: 0 / 446.9 MB, free: 52.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.2392, allocations: 5.688 MB / 452.6 MB, free: 50.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/7.003, allocations: 10.31 kB / 452.6 MB, free: 50.88 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --stepSize=0.000270051 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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: 9.049848132766783]