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.001358/0.001358, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001429/0.001429, allocations: 220.1 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.378/1.378, allocations: 207.7 MB / 233.9 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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.06732/0.06732, allocations: 14.38 MB / 300.5 MB, free: 7.254 MB / 238.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 67.91 kB / 423.7 MB, free: 36.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1122, allocations: 52.9 MB / 476.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.004321/0.1166, allocations: 1.871 MB / 478.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008189/0.1174, allocations: 363.5 kB / 478.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1175, allocations: 4 kB / 478.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1178, allocations: 67.59 kB / 478.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.118, allocations: 39.66 kB / 479 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.1185, allocations: 231.2 kB / 479.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.1188, allocations: 167.5 kB / 479.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.119, allocations: 66.84 kB / 479.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.436e-05/0.1191, allocations: 59.72 kB / 479.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1192, allocations: 67.64 kB / 479.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.1192, allocations: 20 kB / 479.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1193, allocations: 47.98 kB / 479.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.1194, allocations: 47.77 kB / 479.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.1195, allocations: 63.61 kB / 479.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.1199, allocations: 239.1 kB / 480 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1199, allocations: 0 / 480 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1199, allocations: 0 / 480 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1199, allocations: 8 kB / 480 MB, free: 12.39 MB / 350.1 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.001146/0.121, allocations: 465.4 kB / 480.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1211, allocations: 15.97 kB / 480.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.336e-05/0.1211, allocations: 4.188 kB / 480.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.803e-05/0.1211, allocations: 54.73 kB / 480.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.1212, allocations: 28.73 kB / 480.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1215, allocations: 178.2 kB / 480.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1215, allocations: 12.38 kB / 480.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.1215, allocations: 16.38 kB / 480.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.1219, allocations: 174.2 kB / 480.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1219, allocations: 0 / 480.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.1219, allocations: 8 kB / 480.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1219, allocations: 4 kB / 480.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.1222, allocations: 124 kB / 481 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1233, allocations: 0.5708 MB / 481.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1234, allocations: 62.56 kB / 481.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.1235, allocations: 28.98 kB / 481.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1235, allocations: 0 / 481.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1236, allocations: 38.5 kB / 481.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.936e-06/0.1236, allocations: 3.984 kB / 481.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000333/0.1239, allocations: 141.4 kB / 481.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.124, allocations: 51.41 kB / 481.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.1243, allocations: 257.1 kB / 482.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1243, allocations: 25.7 kB / 482.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1244, allocations: 136 kB / 482.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.1244, allocations: 19.89 kB / 482.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.1245, allocations: 17.72 kB / 482.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1247, allocations: 334.8 kB / 482.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.1247, allocations: 28 kB / 482.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.1248, allocations: 35.92 kB / 482.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1249, allocations: 68.86 kB / 482.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1249, allocations: 0 / 482.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002219/0.1252, allocations: 129.7 kB / 483 MB, free: 9.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1252, allocations: 7.938 kB / 483 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1252, allocations: 0 / 483 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1252, allocations: 3.938 kB / 483 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1253, allocations: 15.98 kB / 483 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1253, allocations: 8 kB / 483 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.1254, allocations: 11.89 kB / 483 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1254, allocations: 4 kB / 483 MB, free: 9.156 MB / 350.1 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 0.0001316/0.1256, allocations: 133.8 kB / 483.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.1256, allocations: 23.8 kB / 483.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.1257, allocations: 21.39 kB / 483.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1257, allocations: 4 kB / 483.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1257, allocations: 0 / 483.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1257, allocations: 0 / 483.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/0.1265, allocations: 460.8 kB / 483.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1265, allocations: 0 / 483.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-05/0.1266, allocations: 16.14 kB / 483.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.1266, allocations: 4 kB / 483.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1266, allocations: 0 / 483.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1266, allocations: 4 kB / 483.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1266, allocations: 0 / 483.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.127, allocations: 263.1 kB / 483.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.127, allocations: 27.88 kB / 484 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.1271, allocations: 4 kB / 484 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1272, allocations: 4 kB / 484 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.1272, allocations: 11.92 kB / 484 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.1272, allocations: 8.062 kB / 484 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.1274, allocations: 188.5 kB / 484.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1274, allocations: 0 / 484.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1277, allocations: 23.94 kB / 484.2 MB, free: 7.879 MB / 350.1 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.0007377/0.1285, allocations: 0.7938 MB / 485 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1287, allocations: 67.92 kB / 485 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1287, allocations: 4.062 kB / 485 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.1287, allocations: 31.94 kB / 485.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.1291, allocations: 30.55 kB / 485.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.1318, allocations: 2.159 MB / 487.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.1319, allocations: 112.4 kB / 487.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.132, allocations: 13.42 kB / 487.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.1321, allocations: 59.34 kB / 487.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1321, allocations: 0 / 487.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.1588, allocations: 3.848 MB / 491.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.55, allocations: 12 kB / 491.3 MB, free: 0.6328 MB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/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: 14.194682188914157]