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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06266/0.06266, allocations: 14.16 MB / 283.9 MB, free: 7.074 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.001485/0.001485, allocations: 78.7 kB / 347.3 MB, free: 17.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07417/0.07567, allocations: 50.13 MB / 397.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003174/0.07888, allocations: 1.913 MB / 399.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.07968, allocations: 379.5 kB / 399.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.07983, allocations: 4 kB / 399.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.08006, allocations: 67.64 kB / 399.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.08024, allocations: 39.67 kB / 399.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.08076, allocations: 235 kB / 400 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.08104, allocations: 159.5 kB / 400.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.08121, allocations: 94.39 kB / 400.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.08127, allocations: 51.73 kB / 400.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.08137, allocations: 71.62 kB / 400.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.08141, allocations: 16 kB / 400.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.08152, allocations: 51.98 kB / 400.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.08156, allocations: 39.8 kB / 400.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.08163, allocations: 75.55 kB / 400.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.08195, allocations: 235.3 kB / 400.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.08196, allocations: 4 kB / 400.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08197, allocations: 0 / 400.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.08198, allocations: 0 / 400.8 MB, free: 11.6 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.000976/0.08296, allocations: 0.5377 MB / 401.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.08301, allocations: 12.03 kB / 401.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.08306, allocations: 46.73 kB / 401.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.08311, allocations: 20.75 kB / 401.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.08334, allocations: 232.8 kB / 401.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.08338, allocations: 16.38 kB / 401.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.08341, allocations: 12.38 kB / 401.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.08369, allocations: 166.7 kB / 401.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.08371, allocations: 3.938 kB / 401.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.08373, allocations: 8 kB / 401.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.08374, allocations: 4 kB / 401.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.08398, allocations: 135.7 kB / 402 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009456/0.08493, allocations: 0.6677 MB / 402.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.08508, allocations: 62.56 kB / 402.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.08516, allocations: 32.92 kB / 402.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.08518, allocations: 0 / 402.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.08521, allocations: 34.56 kB / 402.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.08521, allocations: 0 / 402.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002635/0.08548, allocations: 125.6 kB / 402.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.08553, allocations: 55.41 kB / 403 MB, free: 9.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.08578, allocations: 260.9 kB / 403.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.08581, allocations: 29.7 kB / 403.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.0859, allocations: 127.9 kB / 403.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.08594, allocations: 23.73 kB / 403.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.086, allocations: 29.56 kB / 403.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.08612, allocations: 330.8 kB / 403.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.08619, allocations: 40 kB / 403.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.08625, allocations: 31.98 kB / 403.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.08638, allocations: 72.98 kB / 403.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.08639, allocations: 0 / 403.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001866/0.08658, allocations: 121.5 kB / 404 MB, free: 8.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.0866, allocations: 7.938 kB / 404 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.08661, allocations: 0 / 404 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.08663, allocations: 7.984 kB / 404 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.08675, allocations: 15.94 kB / 404 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.08676, allocations: 3.984 kB / 404 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.149e-05/0.08685, allocations: 11.84 kB / 404.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.08686, allocations: 0 / 404.1 MB, free: 8.109 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 (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 8.978e-05/0.08696, allocations: 126.9 kB / 404.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.08701, allocations: 23.66 kB / 404.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.08706, allocations: 25.3 kB / 404.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.08706, allocations: 0 / 404.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.08707, allocations: 4 kB / 404.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.08708, allocations: 0 / 404.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007108/0.08779, allocations: 0.4978 MB / 404.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.08781, allocations: 4 kB / 404.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.0879, allocations: 11.98 kB / 404.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.08791, allocations: 8.094 kB / 404.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.08792, allocations: 0 / 404.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.08793, allocations: 4 kB / 404.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.08794, allocations: 0 / 404.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.08823, allocations: 274.6 kB / 405 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.0883, allocations: 96.89 kB / 405.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.08833, allocations: 11.98 kB / 405.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.08844, allocations: 0 / 405.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.08846, allocations: 4 kB / 405.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.08848, allocations: 12 kB / 405.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.08865, allocations: 188.4 kB / 405.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08866, allocations: 0 / 405.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000259/0.08893, allocations: 24 kB / 405.4 MB, free: 6.684 MB / 302.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.0005511/0.08948, allocations: 0.8016 MB / 406.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.08966, allocations: 71.92 kB / 406.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.08967, allocations: 0 / 406.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.254e-05/0.08974, allocations: 35.92 kB / 406.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.09015, allocations: 33.67 kB / 406.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.09266, allocations: 2.155 MB / 408.4 MB, free: 3.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.09305, allocations: 0.724 MB / 409.2 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.09311, allocations: 13.08 kB / 409.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.09319, allocations: 51.42 kB / 409.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.0932, allocations: 0 / 409.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.1139, allocations: 3.501 MB / 412.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.381, allocations: 0 / 412.7 MB, free: 15.16 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","/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