Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 111.8 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1989/0.1989, allocations: 38.04 MB / 330.5 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 61.56 kB / 400.3 MB, free: 33.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1872, allocations: 58.07 MB / 458.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.007636/0.1949, allocations: 3.434 MB / 461.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.1973, allocations: 1.442 MB / 463.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1974, allocations: 8 kB / 463.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.1985, allocations: 254.9 kB / 463.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007457/0.1993, allocations: 287 kB / 463.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.1997, allocations: 111.7 kB / 463.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.2002, allocations: 327.1 kB / 464.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.2006, allocations: 133.9 kB / 464.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.2009, allocations: 151.4 kB / 464.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.2012, allocations: 159.4 kB / 464.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.2012, allocations: 12 kB / 464.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005711/0.2018, allocations: 303.2 kB / 464.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.202, allocations: 107.8 kB / 465 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.2021, allocations: 107.4 kB / 465.1 MB, free: 464 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.2027, allocations: 339.1 kB / 465.4 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.2027, allocations: 8 kB / 465.5 MB, free: 116 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.2027, allocations: 0 / 465.5 MB, free: 116 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.2028, allocations: 0 / 465.5 MB, free: 116 kB / 334.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.0008447/0.2036, allocations: 0.4987 MB / 466 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2037, allocations: 8.031 kB / 466 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009678/0.2046, allocations: 96.53 kB / 466.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.205, allocations: 268.4 kB / 466.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.2051, allocations: 16.33 kB / 466.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.2051, allocations: 24.12 kB / 466.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.2057, allocations: 322.3 kB / 466.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2057, allocations: 0 / 466.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.2057, allocations: 8 kB / 466.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.2058, allocations: 16 kB / 466.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.2062, allocations: 291.7 kB / 467 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.2081, allocations: 1.289 MB / 468.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.2086, allocations: 242.3 kB / 468.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.2087, allocations: 57.75 kB / 468.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.2087, allocations: 7.938 kB / 468.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.2088, allocations: 34.5 kB / 468.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.2088, allocations: 0 / 468.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006634/0.2094, allocations: 288.3 kB / 468.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.2095, allocations: 77.11 kB / 469 MB, free: 12.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.2097, allocations: 194.3 kB / 469.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.2098, allocations: 29.7 kB / 469.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.2099, allocations: 163.8 kB / 469.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.2099, allocations: 47.3 kB / 469.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.21, allocations: 41.7 kB / 469.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2102, allocations: 331 kB / 469.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.2103, allocations: 47.97 kB / 469.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.2104, allocations: 141.7 kB / 469.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.2107, allocations: 216.6 kB / 470.1 MB, free: 11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2107, allocations: 0 / 470.1 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003383/0.2111, allocations: 229.7 kB / 470.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2111, allocations: 8 kB / 470.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2111, allocations: 4 kB / 470.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.2112, allocations: 4.438 kB / 470.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2113, allocations: 47.91 kB / 470.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2113, allocations: 11.94 kB / 470.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2115, allocations: 15.91 kB / 470.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.2115, allocations: 12 kB / 470.5 MB, free: 10.67 MB / 350.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 (25): * Single equations (assignments): 25 * 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.0001602/0.2117, allocations: 154.2 kB / 470.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.2117, allocations: 19.75 kB / 470.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.212, allocations: 160.6 kB / 470.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.212, allocations: 0 / 470.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.212, allocations: 4 kB / 470.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.212, allocations: 4 kB / 470.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008967/0.2129, allocations: 0.665 MB / 471.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.213, allocations: 4 kB / 471.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.629e-05/0.2131, allocations: 23.98 kB / 471.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.2131, allocations: 7.938 kB / 471.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2131, allocations: 4 kB / 471.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.2131, allocations: 16.36 kB / 471.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.2131, allocations: 8.062 kB / 471.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.2135, allocations: 327.3 kB / 471.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.2136, allocations: 104.9 kB / 472 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.2136, allocations: 15.92 kB / 472 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2137, allocations: 8 kB / 472 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.2138, allocations: 23.86 kB / 472 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.2138, allocations: 11.98 kB / 472 MB, free: 8.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.2139, allocations: 144.3 kB / 472.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.214, allocations: 0 / 472.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.2143, allocations: 44 kB / 472.2 MB, free: 8.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001621/0.2145, allocations: 111.1 kB / 472.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.2148, allocations: 147 kB / 472.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2148, allocations: 0.875 kB / 472.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.2149, allocations: 67.84 kB / 472.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.2154, allocations: 40.12 kB / 472.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.2163, allocations: 0.4965 MB / 473.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.2168, allocations: 0.7593 MB / 473.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.2169, allocations: 41.52 kB / 473.9 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.217, allocations: 19.44 kB / 473.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.217, allocations: 0 / 473.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of Templates: time 0.004363/0.2214, allocations: 1.324 MB / 475.2 MB, free: 5.668 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches