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.007199/0.007199, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001811/0.00181, allocations: 198.1 kB / 16.68 MB, free: 5.969 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.416/1.416, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06999/0.06999, allocations: 14.17 MB / 284.1 MB, free: 7.008 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.002231/0.002231, allocations: 67.89 kB / 398.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2431, allocations: 50.15 MB / 448.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.002472/0.2456, allocations: 1.915 MB / 450.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006265/0.2462, allocations: 379.1 kB / 450.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2463, allocations: 4.125 kB / 450.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.2466, allocations: 72.34 kB / 450.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.2467, allocations: 45.22 kB / 450.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.2471, allocations: 215.5 kB / 450.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.2474, allocations: 160 kB / 451 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2475, allocations: 92.77 kB / 451.1 MB, free: 448 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.2476, allocations: 54.08 kB / 451.2 MB, free: 408 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.2477, allocations: 75.52 kB / 451.2 MB, free: 344 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.2477, allocations: 17.56 kB / 451.3 MB, free: 344 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2478, allocations: 65.17 kB / 451.3 MB, free: 316 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.2478, allocations: 36.61 kB / 451.4 MB, free: 284 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.2479, allocations: 77.36 kB / 451.4 MB, free: 220 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.2482, allocations: 243.8 kB / 451.7 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2482, allocations: 3.938 kB / 451.7 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2482, allocations: 0 / 451.7 MB, free: 40 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2482, allocations: 0 / 451.7 MB, free: 40 kB / 318.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.001043/0.2492, allocations: 0.5354 MB / 452.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2493, allocations: 10.22 kB / 452.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.2493, allocations: 51.95 kB / 452.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.2494, allocations: 23.73 kB / 452.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.2497, allocations: 236 kB / 452.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.2497, allocations: 19.78 kB / 452.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.2498, allocations: 15.38 kB / 452.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.2501, allocations: 169.1 kB / 452.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2501, allocations: 3.938 kB / 452.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.2501, allocations: 5.219 kB / 452.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2501, allocations: 4.188 kB / 452.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.2504, allocations: 130.5 kB / 452.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.2514, allocations: 0.6626 MB / 453.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2516, allocations: 62.08 kB / 453.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.2516, allocations: 33.25 kB / 453.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2517, allocations: 1.062 kB / 453.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.2517, allocations: 35.66 kB / 453.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.2517, allocations: 0 / 453.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003015/0.252, allocations: 126 kB / 453.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2521, allocations: 52.97 kB / 453.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.2523, allocations: 259.5 kB / 454.1 MB, free: 14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2524, allocations: 26.89 kB / 454.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.2525, allocations: 141.2 kB / 454.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.2525, allocations: 14.28 kB / 454.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.2526, allocations: 27.3 kB / 454.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2527, allocations: 327.2 kB / 454.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.2528, allocations: 33.7 kB / 454.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/0.2529, allocations: 27.09 kB / 454.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.253, allocations: 70.16 kB / 454.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.253, allocations: 3.938 kB / 454.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001969/0.2532, allocations: 128.6 kB / 454.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2532, allocations: 9 kB / 454.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2532, allocations: 0 / 454.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.2533, allocations: 5.031 kB / 454.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.2534, allocations: 15.09 kB / 454.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2534, allocations: 0 / 454.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/0.2535, allocations: 15.98 kB / 454.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2535, allocations: 1.5 kB / 454.9 MB, free: 13.29 MB / 334.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.0001055/0.2536, allocations: 127 kB / 455 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.2536, allocations: 27.31 kB / 455.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.2537, allocations: 18.66 kB / 455.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2537, allocations: 1.344 kB / 455.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2537, allocations: 8 kB / 455.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2537, allocations: 9.25 kB / 455.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007613/0.2545, allocations: 0.5013 MB / 455.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2545, allocations: 1.375 kB / 455.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.681e-05/0.2546, allocations: 15.27 kB / 455.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2546, allocations: 6.469 kB / 455.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2546, allocations: 2.312 kB / 455.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2546, allocations: 5.125 kB / 455.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2546, allocations: 1.188 kB / 455.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.255, allocations: 265.4 kB / 455.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.2551, allocations: 102.8 kB / 456 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.2551, allocations: 2.594 kB / 456 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.2552, allocations: 5.219 kB / 456 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.2552, allocations: 10.42 kB / 456 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.2552, allocations: 6.938 kB / 456 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.2554, allocations: 187.8 kB / 456.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2554, allocations: 0 / 456.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.2557, allocations: 23.56 kB / 456.2 MB, free: 12.11 MB / 334.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.0007079/0.2564, allocations: 0.8082 MB / 457 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.2566, allocations: 70.55 kB / 457.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2566, allocations: 0 / 457.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.319e-05/0.2567, allocations: 27.44 kB / 457.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.257, allocations: 30.58 kB / 457.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.2594, allocations: 2.16 MB / 459.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.2598, allocations: 0.7238 MB / 460 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.03e-05/0.2599, allocations: 13.77 kB / 460.1 MB, free: 8.809 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.26, allocations: 54.31 kB / 460.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.26, allocations: 0 / 460.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.2857, allocations: 3.57 MB / 463.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.098, allocations: 6.375 kB / 463.7 MB, free: 6.848 MB / 334.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches