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.001368/0.001368, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00156/0.00156, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.418/1.418, allocations: 207.6 MB / 233 MB, free: 9.984 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.07061/0.07061, allocations: 14.39 MB / 299.7 MB, free: 7.426 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="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: 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.002217/0.002217, allocations: 78.97 kB / 423 MB, free: 36.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.08923, allocations: 52.89 MB / 475.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.0033/0.09253, allocations: 1.949 MB / 477.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.09332, allocations: 387.4 kB / 478.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.81e-05/0.09342, allocations: 4 kB / 478.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.09365, allocations: 67.59 kB / 478.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.0938, allocations: 39.66 kB / 478.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.09435, allocations: 247.1 kB / 478.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.09465, allocations: 163.1 kB / 478.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.09479, allocations: 66.84 kB / 478.8 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.649e-05/0.09486, allocations: 63.66 kB / 478.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.09496, allocations: 67.64 kB / 478.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.09499, allocations: 16 kB / 478.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.09509, allocations: 51.98 kB / 479 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.09513, allocations: 43.83 kB / 479 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.382e-05/0.0952, allocations: 79.48 kB / 479.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.09554, allocations: 247 kB / 479.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.09554, allocations: 4 kB / 479.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09554, allocations: 0 / 479.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.09555, allocations: 0 / 479.3 MB, free: 12.44 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.001004/0.09655, allocations: 469.4 kB / 479.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.09659, allocations: 8.031 kB / 479.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.09665, allocations: 54.67 kB / 479.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.09669, allocations: 24.8 kB / 479.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.09699, allocations: 186.1 kB / 480.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.09701, allocations: 8.375 kB / 480.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.09704, allocations: 16.38 kB / 480.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.09734, allocations: 170.4 kB / 480.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.09735, allocations: 7.938 kB / 480.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.09736, allocations: 4 kB / 480.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.09737, allocations: 8 kB / 480.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.0976, allocations: 128 kB / 480.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.09861, allocations: 0.6293 MB / 481 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.09876, allocations: 58.56 kB / 481.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.09882, allocations: 28.98 kB / 481.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.09883, allocations: 0 / 481.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.09886, allocations: 30.56 kB / 481.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.09886, allocations: 0 / 481.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002965/0.09916, allocations: 133.4 kB / 481.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.0992, allocations: 51.41 kB / 481.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.09948, allocations: 265 kB / 481.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.0995, allocations: 29.7 kB / 481.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.09962, allocations: 136 kB / 481.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.09964, allocations: 19.89 kB / 481.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.09969, allocations: 17.72 kB / 481.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.09985, allocations: 326.8 kB / 482.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.014e-05/0.09992, allocations: 35.98 kB / 482.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.09999, allocations: 28 kB / 482.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1001, allocations: 72.78 kB / 482.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1001, allocations: 4 kB / 482.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002029/0.1003, allocations: 129.5 kB / 482.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1003, allocations: 10.44 kB / 482.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1003, allocations: 0 / 482.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1004, allocations: 0 / 482.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1005, allocations: 12 kB / 482.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1005, allocations: 240 / 482.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.1005, allocations: 11.89 kB / 482.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1006, allocations: 3.984 kB / 482.4 MB, free: 9.18 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.0001221/0.1007, allocations: 145.7 kB / 482.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.1007, allocations: 23.8 kB / 482.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.1008, allocations: 17.41 kB / 482.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1008, allocations: 0 / 482.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1008, allocations: 3.984 kB / 482.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1008, allocations: 0 / 482.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/0.1016, allocations: 492.7 kB / 483.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1016, allocations: 4 kB / 483.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.1016, allocations: 11.98 kB / 483.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1016, allocations: 0 / 483.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1016, allocations: 4 kB / 483.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1016, allocations: 0 / 483.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1017, allocations: 256 / 483.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.102, allocations: 270.9 kB / 483.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.102, allocations: 35.88 kB / 483.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.102, allocations: 0 / 483.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.1021, allocations: 0 / 483.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.1022, allocations: 8.047 kB / 483.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1022, allocations: 15.88 kB / 483.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.1024, allocations: 188.5 kB / 483.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1024, allocations: 0 / 483.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1026, allocations: 20 kB / 483.6 MB, free: 7.859 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.0006523/0.1033, allocations: 0.7977 MB / 484.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1035, allocations: 67.92 kB / 484.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1035, allocations: 0 / 484.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.1035, allocations: 36 kB / 484.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1039, allocations: 28.36 kB / 484.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.1064, allocations: 2.151 MB / 486.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1068, allocations: 0.724 MB / 487.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.313e-05/0.1068, allocations: 17.42 kB / 487.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.1069, allocations: 59.41 kB / 487.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1069, allocations: 0 / 487.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.1404, allocations: 3.734 MB / 491.2 MB, free: 116 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.28, allocations: 4 kB / 491.2 MB, free: 112 kB / 350.1 MB " [Timeout remaining time 649] (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: 13.951256260974333]