Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1842/0.1842, allocations: 38.51 MB / 342.5 MB, free: 8.066 MB / 270.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 68.58 kB / 478.6 MB, free: 33.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1107, allocations: 61.25 MB / 0.5272 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005305/0.1161, allocations: 3.491 MB / 0.5306 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1187, allocations: 1.547 MB / 0.5321 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.1189, allocations: 8 kB / 0.5321 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009828/0.1199, allocations: 262.9 kB / 0.5324 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007324/0.1206, allocations: 286.9 kB / 0.5327 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.1209, allocations: 123.6 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.1214, allocations: 347 kB / 0.5331 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.1217, allocations: 109.9 kB / 0.5332 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.1219, allocations: 159.3 kB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1222, allocations: 167.4 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1222, allocations: 16 kB / 0.5335 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005232/0.1227, allocations: 335.2 kB / 0.5339 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1228, allocations: 103.6 kB / 0.534 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.123, allocations: 107.5 kB / 0.5341 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.1235, allocations: 366.7 kB / 0.5344 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1235, allocations: 0 / 0.5344 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1235, allocations: 0 / 0.5344 GB, free: 9.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1235, allocations: 3.938 kB / 0.5344 GB, free: 9.969 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000827/0.1244, allocations: 0.5177 MB / 0.5349 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.1244, allocations: 11.89 kB / 0.5349 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.079e-05/0.1245, allocations: 58.72 kB / 0.535 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.1255, allocations: 100.7 kB / 0.5351 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.1259, allocations: 275 kB / 0.5353 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1259, allocations: 12.36 kB / 0.5354 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.126, allocations: 24.31 kB / 0.5354 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.1265, allocations: 329.8 kB / 0.5357 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1265, allocations: 0 / 0.5357 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.1266, allocations: 8 kB / 0.5357 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.1266, allocations: 23.86 kB / 0.5357 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.1271, allocations: 315.7 kB / 0.536 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.129, allocations: 1.256 MB / 0.5373 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.1292, allocations: 153.1 kB / 0.5374 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.1294, allocations: 93.67 kB / 0.5375 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.1294, allocations: 4 kB / 0.5375 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1295, allocations: 34.56 kB / 0.5375 GB, free: 6.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.1295, allocations: 0 / 0.5375 GB, free: 6.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001587/0.1311, allocations: 0.6689 MB / 0.5382 GB, free: 5.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.1311, allocations: 81.05 kB / 0.5383 GB, free: 5.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.1313, allocations: 206.3 kB / 0.5385 GB, free: 5.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1313, allocations: 25.7 kB / 0.5385 GB, free: 5.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1315, allocations: 156.2 kB / 0.5386 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.1315, allocations: 63.47 kB / 0.5387 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.1316, allocations: 41.7 kB / 0.5387 GB, free: 5.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1318, allocations: 326.8 kB / 0.539 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1319, allocations: 83.95 kB / 0.5391 GB, free: 4.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.1321, allocations: 148.5 kB / 0.5393 GB, free: 4.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.1325, allocations: 262.8 kB / 0.5395 GB, free: 4.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1325, allocations: 0 / 0.5395 GB, free: 4.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006619/0.1331, allocations: 353.9 kB / 0.5399 GB, free: 4.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1331, allocations: 10.5 kB / 0.5399 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1331, allocations: 0 / 0.5399 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004192/0.1336, allocations: 92.77 kB / 0.5399 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.1337, allocations: 35.98 kB / 0.54 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.1365, allocations: 2.179 MB / 0.5421 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1366, allocations: 19.92 kB / 0.5421 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1366, allocations: 8 kB / 0.5421 GB, free: 1.523 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.1368, allocations: 157.7 kB / 0.5423 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.1368, allocations: 19.91 kB / 0.5423 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006664/0.1375, allocations: 324 kB / 0.5426 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1375, allocations: 4 kB / 0.5426 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1375, allocations: 0 / 0.5426 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1375, allocations: 0 / 0.5426 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.1388, allocations: 0.7465 MB / 0.5433 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1388, allocations: 0 / 0.5433 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.1389, allocations: 31.92 kB / 0.5434 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002879/0.1392, allocations: 76.78 kB / 0.5435 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1392, allocations: 4 kB / 0.5435 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.1414, allocations: 2.041 MB / 0.5454 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1415, allocations: 0 / 0.5454 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/0.1421, allocations: 413.3 kB / 0.5458 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.1421, allocations: 96.95 kB / 0.5459 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1422, allocations: 0 / 0.5459 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.1423, allocations: 11.98 kB / 0.5459 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.1424, allocations: 19.98 kB / 0.546 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1424, allocations: 4 kB / 0.546 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1425, allocations: 144.3 kB / 0.5461 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1425, allocations: 0 / 0.5461 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004569/0.143, allocations: 68 kB / 0.5462 GB, free: 13.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009443/0.1439, allocations: 0.9485 MB / 0.5471 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000729/0.1446, allocations: 369 kB / 0.5475 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.1446, allocations: 0 / 0.5475 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.1451, allocations: 246.5 kB / 0.5477 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.1455, allocations: 34.94 kB / 0.5477 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.149, allocations: 2.657 MB / 0.5503 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.1495, allocations: 0.7636 MB / 0.5511 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1496, allocations: 41.55 kB / 0.5511 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1497, allocations: 59.42 kB / 0.5512 GB, free: 7.77 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1497, allocations: 0 / 0.5512 GB, free: 7.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.1825, allocations: 5.386 MB / 0.5564 GB, free: 2.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.86, allocations: 11.97 kB / 0.5564 GB, free: 2.5 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:der(line.terminal_p.theta[2]),line.I,line.L,line.R,line.V,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.omegaRef,line.p[1],line.p[2],line.phi,line.terminal_n.i[1],line.terminal_n.i[2],line.terminal_n.theta[1],line.terminal_n.theta[2],line.terminal_n.v[1],line.terminal_n.v[2],line.terminal_p.i[1],line.terminal_p.i[2],line.terminal_p.theta[1],line.terminal_p.theta[2],line.terminal_p.v[1],line.terminal_p.v[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.p[1],load.p[2],load.phi,load.terminal.i[1],load.terminal.i[2],load.terminal.theta[1],load.terminal.theta[2],load.terminal.v[1],load.terminal.v[2],load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.p[1],source.p[2],source.phi,source.potentialReference,source.terminal.i[1],source.terminal.i[2],source.terminal.theta[1],source.terminal.theta[2],source.terminal.v[1],source.terminal.v[2],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.initime,system.omega,system.omega_nom,system.receiveFreq.H,system.receiveFreq.h,system.receiveFreq.w_H,system.receiveFreq.w_h,system.refType,system.synRef,system.theta,system.thetaRef,system.thetaRel,system.w_nom,time [Calling sys.exit(0), Time elapsed: 14.704140224959701]