Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.0008526/0.0008526, 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.0008627/0.0008627, allocations: 170.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.9463/0.9463, allocations: 177.1 MB / 204.2 MB, free: 5.762 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.2251/0.2251, allocations: 29.41 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.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.263e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004922/0.004944, allocations: 4.264 MB / 434.5 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.006094, allocations: 0.9116 MB / 435.4 MB, free: 8.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.006246, allocations: 19.81 kB / 435.4 MB, free: 8.395 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.006423, allocations: 59.48 kB / 435.5 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.006901, allocations: 242.6 kB / 435.7 MB, free: 8.098 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.007092, allocations: 103.7 kB / 435.8 MB, free: 7.996 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003604/0.007452, allocations: 0.506 MB / 436.3 MB, free: 7.488 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.007632, allocations: 92.33 kB / 436.4 MB, free: 7.395 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.007966, allocations: 306.9 kB / 436.7 MB, free: 7.094 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.00825, allocations: 255.3 kB / 436.9 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.008287, allocations: 24 kB / 437 MB, free: 6.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.008326, allocations: 24 kB / 437 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.008437, allocations: 163.6 kB / 437.2 MB, free: 6.637 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.643e-05/0.008534, allocations: 123.7 kB / 437.3 MB, free: 6.516 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.008815, allocations: 362.8 kB / 437.6 MB, free: 6.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.008817, allocations: 4 kB / 437.6 MB, free: 6.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.008818, allocations: 0 / 437.6 MB, free: 6.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.008823, allocations: 0 / 437.6 MB, free: 6.156 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007329/0.009556, allocations: 0.5915 MB / 438.2 MB, free: 5.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.009603, allocations: 11.98 kB / 438.2 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.009655, allocations: 54.73 kB / 438.3 MB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.141e-05/0.009716, allocations: 48.66 kB / 438.3 MB, free: 5.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.01014, allocations: 315.6 kB / 438.6 MB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.01016, allocations: 20.88 kB / 438.7 MB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.0102, allocations: 28.36 kB / 438.7 MB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.01058, allocations: 356.8 kB / 439 MB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.01059, allocations: 0 / 439 MB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.01061, allocations: 12 kB / 439 MB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/0.01068, allocations: 24.47 kB / 439.1 MB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.01093, allocations: 233.7 kB / 439.3 MB, free: 4.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01199, allocations: 1.281 MB / 440.6 MB, free: 3.035 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.01227, allocations: 157 kB / 440.7 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.01239, allocations: 93.72 kB / 440.8 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.01241, allocations: 4 kB / 440.8 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.01243, allocations: 34.56 kB / 440.9 MB, free: 2.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.01243, allocations: 4 kB / 440.9 MB, free: 2.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008641/0.0133, allocations: 0.6212 MB / 441.5 MB, free: 2.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.01333, allocations: 81.11 kB / 441.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.01353, allocations: 300.5 kB / 441.9 MB, free: 1.656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.01354, allocations: 33.64 kB / 441.9 MB, free: 1.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.01364, allocations: 224 kB / 442.1 MB, free: 1.395 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.01367, allocations: 55.53 kB / 442.2 MB, free: 1.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.01372, allocations: 53.66 kB / 442.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.01381, allocations: 338.8 kB / 442.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.01388, allocations: 67.89 kB / 442.6 MB, free: 0.875 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.014, allocations: 176.9 kB / 442.8 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.01421, allocations: 252.6 kB / 443 MB, free: 372 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.01421, allocations: 4 kB / 443 MB, free: 368 kB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003039/0.01451, allocations: 318.7 kB / 443.4 MB, free: 40 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.01453, allocations: 12.09 kB / 443.4 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.01453, allocations: 4 kB / 443.4 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1985/0.2131, allocations: 51.91 kB / 443.4 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.2133, allocations: 50.25 kB / 443.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009482/0.2142, allocations: 1.487 MB / 445 MB, free: 53.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.2144, allocations: 18.84 kB / 445 MB, free: 53.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.2144, allocations: 9.188 kB / 445 MB, free: 53.12 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 (28): * Single equations (assignments): 27 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.2146, allocations: 171.7 kB / 445.2 MB, free: 53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.2146, allocations: 27.92 kB / 445.2 MB, free: 53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.2149, allocations: 237.1 kB / 445.4 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2149, allocations: 7.156 kB / 445.4 MB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2149, allocations: 0.5312 kB / 445.4 MB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2149, allocations: 0 / 445.4 MB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.2154, allocations: 0.5979 MB / 446 MB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2154, allocations: 7.281 kB / 446 MB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.2155, allocations: 19.38 kB / 446 MB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.2156, allocations: 58.73 kB / 446.1 MB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2156, allocations: 5.906 kB / 446.1 MB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006137/0.2162, allocations: 1.501 MB / 447.6 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2162, allocations: 3.188 kB / 447.6 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.2165, allocations: 397.9 kB / 448 MB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.2165, allocations: 29.11 kB / 448 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2166, allocations: 7.688 kB / 448 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.2166, allocations: 6.594 kB / 448 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.2167, allocations: 14.97 kB / 448.1 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.2167, allocations: 9.5 kB / 448.1 MB, free: 51.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.2168, allocations: 207 kB / 448.3 MB, free: 51.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2168, allocations: 0 / 448.3 MB, free: 51.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.217, allocations: 72.25 kB / 448.3 MB, free: 51.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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): 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004049/0.2174, allocations: 0.9346 MB / 449.3 MB, free: 50.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.2178, allocations: 304.2 kB / 449.6 MB, free: 50.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2178, allocations: 0 / 449.6 MB, free: 50.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.218, allocations: 203.9 kB / 449.8 MB, free: 49.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2183, allocations: 59.83 kB / 449.8 MB, free: 49.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.2203, allocations: 3.001 MB / 452.8 MB, free: 47.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2204, allocations: 201 kB / 453 MB, free: 47.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.255e-05/0.2205, allocations: 44.78 kB / 453.1 MB, free: 47.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.2206, allocations: 99.44 kB / 453.2 MB, free: 47.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.883e-06/0.2206, allocations: 0 / 453.2 MB, free: 47.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.2458, allocations: 6.943 MB / 460.1 MB, free: 46.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/7.087, allocations: 10.55 kB / 460.1 MB, free: 46.51 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.05693578813225]