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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00115/0.00115, allocations: 193 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 205.1 MB / 222 MB, free: 4.965 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05515/0.05515, allocations: 14.16 MB / 283.5 MB, free: 7.531 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 66.72 kB / 346.5 MB, free: 17.71 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06705/0.06836, allocations: 50.14 MB / 396.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.002708/0.0711, allocations: 1.971 MB / 398.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006304/0.07175, allocations: 367.5 kB / 399 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.07185, allocations: 7.938 kB / 399 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.07205, allocations: 63.77 kB / 399.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.07218, allocations: 27.86 kB / 399.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.07261, allocations: 215.3 kB / 399.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.07284, allocations: 135.6 kB / 399.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.07298, allocations: 87.19 kB / 399.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.07303, allocations: 55.72 kB / 399.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.321e-05/0.07312, allocations: 71.56 kB / 399.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.07315, allocations: 12 kB / 399.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.07326, allocations: 51.98 kB / 399.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.07329, allocations: 31.84 kB / 399.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.418e-05/0.07336, allocations: 71.55 kB / 399.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.07361, allocations: 247.2 kB / 400.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.07362, allocations: 0 / 400.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.07363, allocations: 4 kB / 400.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.07364, allocations: 0 / 400.1 MB, free: 12.13 MB / 302.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.001014/0.07466, allocations: 0.5573 MB / 400.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.0747, allocations: 8.031 kB / 400.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.07476, allocations: 58.73 kB / 400.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.0748, allocations: 16.75 kB / 400.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.07501, allocations: 232 kB / 400.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.07504, allocations: 12.38 kB / 400.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.07507, allocations: 12.38 kB / 401 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.07536, allocations: 190.8 kB / 401.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.07538, allocations: 3.938 kB / 401.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.0754, allocations: 11.98 kB / 401.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.07542, allocations: 4 kB / 401.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.07566, allocations: 159.5 kB / 401.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000794/0.07646, allocations: 0.6597 MB / 402 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.07669, allocations: 130.5 kB / 402.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.07681, allocations: 80.84 kB / 402.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.07683, allocations: 0 / 402.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.07687, allocations: 42.55 kB / 402.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.07687, allocations: 0 / 402.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004272/0.07731, allocations: 269.4 kB / 402.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.07734, allocations: 51.41 kB / 402.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.07753, allocations: 223.2 kB / 402.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.07755, allocations: 25.7 kB / 402.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.07762, allocations: 120 kB / 402.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.07767, allocations: 43.41 kB / 402.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.07773, allocations: 37.64 kB / 403 MB, free: 8.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.07784, allocations: 334.8 kB / 403.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.07795, allocations: 67.98 kB / 403.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.07805, allocations: 63.98 kB / 403.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.07827, allocations: 152.5 kB / 403.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.07828, allocations: 0 / 403.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002803/0.07856, allocations: 205.3 kB / 403.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.07858, allocations: 4 kB / 403.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.07859, allocations: 0 / 403.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.07861, allocations: 4 kB / 403.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.07871, allocations: 12 kB / 403.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.07872, allocations: 3.984 kB / 403.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.07879, allocations: 11.84 kB / 403.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.0788, allocations: 8 kB / 403.8 MB, free: 8.129 MB / 302.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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 9.792e-05/0.07891, allocations: 138.8 kB / 404 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.07896, allocations: 19.72 kB / 404 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.079, allocations: 25.52 kB / 404 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.07902, allocations: 8 kB / 404 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.07903, allocations: 0 / 404 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.07903, allocations: 0 / 404 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.07932, allocations: 321.3 kB / 404.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.07933, allocations: 0 / 404.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.07943, allocations: 15.98 kB / 404.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.07944, allocations: 0 / 404.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.07946, allocations: 4 kB / 404.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.07946, allocations: 3.984 kB / 404.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.07947, allocations: 0 / 404.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.07994, allocations: 403.1 kB / 404.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.08001, allocations: 100.9 kB / 404.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.08004, allocations: 0 / 404.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.08013, allocations: 8 kB / 404.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.08016, allocations: 7.984 kB / 404.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.08017, allocations: 0 / 404.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.0803, allocations: 164.6 kB / 405 MB, free: 6.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.08031, allocations: 0 / 405 MB, free: 6.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.08056, allocations: 32.05 kB / 405.1 MB, free: 6.805 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007276/0.08129, allocations: 0.9499 MB / 406 MB, free: 5.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.08157, allocations: 160 kB / 406.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.08158, allocations: 0 / 406.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.08172, allocations: 83.92 kB / 406.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.08205, allocations: 24.66 kB / 406.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.08441, allocations: 2.368 MB / 408.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.08464, allocations: 0.7278 MB / 409.4 MB, free: 2.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.637e-05/0.08471, allocations: 13.42 kB / 409.4 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.08479, allocations: 51.42 kB / 409.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.0848, allocations: 0 / 409.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.09714, allocations: 4.026 MB / 413.4 MB, free: 14.33 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.09731, allocations: 209.3 kB / 413.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/1.624, allocations: 8 kB / 413.7 MB, free: 14.07 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches