Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.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.000756/0.000756, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007701/0.0007701, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7953/0.7953, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03962/0.03962, allocations: 10.64 MB / 247.1 MB, free: 4.707 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 370.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.089e-05, allocations: 5.656 kB / 370.5 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.002122/0.002143, allocations: 1.876 MB / 372.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005287/0.002672, allocations: 367.4 kB / 372.7 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.00276, allocations: 4 kB / 372.7 MB, free: 1.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.002952, allocations: 71.53 kB / 372.8 MB, free: 1.676 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.003095, allocations: 43.66 kB / 372.8 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.003443, allocations: 215.2 kB / 373 MB, free: 1.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.003672, allocations: 163.5 kB / 373.2 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.003786, allocations: 58.97 kB / 373.3 MB, free: 1.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.003857, allocations: 91.73 kB / 373.3 MB, free: 1.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.003923, allocations: 43.83 kB / 373.4 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.003943, allocations: 16 kB / 373.4 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.408e-05/0.004027, allocations: 59.91 kB / 373.5 MB, free: 1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.004049, allocations: 35.84 kB / 373.5 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.004083, allocations: 43.84 kB / 373.5 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.004312, allocations: 247.2 kB / 373.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004314, allocations: 0 / 373.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004315, allocations: 0 / 373.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.004319, allocations: 4 kB / 373.8 MB, free: 0.6758 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006142/0.004933, allocations: 469.3 kB / 374.2 MB, free: 188 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.004965, allocations: 12.03 kB / 374.3 MB, free: 176 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.005002, allocations: 54.67 kB / 374.3 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.005034, allocations: 24.8 kB / 374.3 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.005248, allocations: 173.5 kB / 374.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.005263, allocations: 20.3 kB / 374.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.005286, allocations: 16.38 kB / 374.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.00548, allocations: 166 kB / 374.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.005487, allocations: 192 / 374.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.0055, allocations: 4.375 kB / 374.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005507, allocations: 8.125 kB / 374.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.005653, allocations: 132 kB / 374.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.006269, allocations: 0.5787 MB / 375.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.00637, allocations: 66.5 kB / 375.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.006406, allocations: 28.98 kB / 375.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.006418, allocations: 0 / 375.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.006436, allocations: 38.56 kB / 375.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.006437, allocations: 3.938 kB / 375.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001947/0.006632, allocations: 121.5 kB / 375.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.006657, allocations: 55.34 kB / 375.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.006818, allocations: 257.9 kB / 376 MB, free: 14.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.006829, allocations: 29.69 kB / 376 MB, free: 14.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.006899, allocations: 140 kB / 376.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.006913, allocations: 19.83 kB / 376.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.006945, allocations: 21.72 kB / 376.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.007022, allocations: 326.8 kB / 376.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.007061, allocations: 27.98 kB / 376.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.007097, allocations: 36 kB / 376.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.343e-05/0.007181, allocations: 76.92 kB / 376.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007182, allocations: 4 kB / 376.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000117/0.007299, allocations: 117.5 kB / 376.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.007309, allocations: 4 kB / 376.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.007313, allocations: 4 kB / 376.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.007323, allocations: 0 / 376.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.007387, allocations: 15.94 kB / 376.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.007391, allocations: 7.938 kB / 376.8 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.007424, allocations: 11.89 kB / 376.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.007429, allocations: 4 kB / 376.8 MB, free: 13.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.012e-05/0.007499, allocations: 133.8 kB / 376.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.00752, allocations: 19.86 kB / 377 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.007546, allocations: 21.47 kB / 377 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.007548, allocations: 0 / 377 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.007553, allocations: 7.922 kB / 377 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.007555, allocations: 0 / 377 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.008001, allocations: 460.8 kB / 377.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.008003, allocations: 8.156 kB / 377.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.008038, allocations: 8 kB / 377.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.00804, allocations: 0 / 377.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.008049, allocations: 8 kB / 377.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.00805, allocations: 0 / 377.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.008053, allocations: 3.984 kB / 377.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.00825, allocations: 267 kB / 377.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.008273, allocations: 23.84 kB / 377.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.008288, allocations: 4 kB / 377.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.641e-05/0.008334, allocations: 0 / 377.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.00835, allocations: 16 kB / 377.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.008354, allocations: 3.984 kB / 377.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.008464, allocations: 189.2 kB / 378 MB, free: 12.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008464, allocations: 0 / 378 MB, free: 12.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.008625, allocations: 23.94 kB / 378 MB, free: 12.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (terminalVoltageTransducer.firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0003438/0.008969, allocations: 0.8054 MB / 378.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.009085, allocations: 75.98 kB / 378.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.009086, allocations: 0 / 378.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.009118, allocations: 27.94 kB / 378.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.009346, allocations: 28.48 kB / 378.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.01085, allocations: 2.167 MB / 381.1 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.546e-05/0.01091, allocations: 112.4 kB / 381.2 MB, free: 8.809 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.01096, allocations: 17.47 kB / 381.2 MB, free: 8.785 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.01108, allocations: 52.48 kB / 381.3 MB, free: 8.734 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01108, allocations: 0 / 381.3 MB, free: 8.734 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.02795, allocations: 4.341 MB / 385.6 MB, free: 4.434 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.448/6.476, allocations: 7.547 kB / 385.6 MB, free: 4.43 MB / 314.7 MB " [Timeout remaining time 653] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.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.11897952016443]