Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 183.9 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 51.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2533, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008233/0.2616, allocations: 6.061 MB / 428.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.265, allocations: 1.639 MB / 430.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007291/0.2657, allocations: 63.62 kB / 430.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007106/0.2664, allocations: 321.4 kB / 430.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.2679, allocations: 389.5 kB / 431.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.2688, allocations: 355.5 kB / 431.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002529/0.2713, allocations: 2.017 MB / 433.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.2736, allocations: 1.597 MB / 435.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.2751, allocations: 1.071 MB / 436.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.2771, allocations: 1.226 MB / 437.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003876/0.2775, allocations: 308 kB / 437.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009039/0.2784, allocations: 0.5425 MB / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007553/0.2791, allocations: 0.7363 MB / 438.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.2806, allocations: 1.256 MB / 440.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.2848, allocations: 3.819 MB / 444 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2848, allocations: 0 / 444 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2848, allocations: 0 / 444 MB, free: 9.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.022e-05/0.2849, allocations: 0 / 444 MB, free: 9.074 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004774/0.2897, allocations: 2.446 MB / 446.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.2897, allocations: 8.031 kB / 446.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004441/0.2902, allocations: 328.9 kB / 446.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006329/0.2908, allocations: 251.4 kB / 447 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.2933, allocations: 1.25 MB / 448.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.2934, allocations: 164.9 kB / 448.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003261/0.2938, allocations: 227.9 kB / 448.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004441/0.2982, allocations: 2.538 MB / 451.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/0.2983, allocations: 0 / 451.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.2984, allocations: 92 kB / 451.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-05/0.2985, allocations: 56 kB / 451.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/0.3022, allocations: 2.141 MB / 453.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/0.3145, allocations: 7.362 MB / 460.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.3157, allocations: 0.7003 MB / 461.5 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.3168, allocations: 0.6024 MB / 462.1 MB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.3169, allocations: 4.5 kB / 462.2 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.3169, allocations: 39.06 kB / 462.2 MB, free: 6.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.885e-06/0.3169, allocations: 0 / 462.2 MB, free: 6.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004448/0.3214, allocations: 2.387 MB / 464.6 MB, free: 4.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.3214, allocations: 60.06 kB / 464.6 MB, free: 3.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.3225, allocations: 0.7972 MB / 465.4 MB, free: 3.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.3226, allocations: 33.7 kB / 465.5 MB, free: 3.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007031/0.3233, allocations: 0.9479 MB / 466.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.3235, allocations: 242 kB / 466.6 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.3237, allocations: 146.6 kB / 466.8 MB, free: 1.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.324, allocations: 386.8 kB / 467.2 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006159/0.3246, allocations: 365.8 kB / 467.5 MB, free: 1.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/0.3254, allocations: 0.5791 MB / 468.1 MB, free: 392 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.3269, allocations: 0.9834 MB / 469.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3269, allocations: 0 / 469.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002023/0.3289, allocations: 1.161 MB / 470.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.3289, allocations: 8 kB / 470.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3289, allocations: 4 kB / 470.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.3293, allocations: 117 kB / 470.4 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.33, allocations: 175.7 kB / 470.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.3325, allocations: 2.226 MB / 472.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.333, allocations: 39.97 kB / 472.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.3331, allocations: 35.91 kB / 472.8 MB, free: 11.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.3341, allocations: 0.6497 MB / 473.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.3343, allocations: 91.38 kB / 473.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.3345, allocations: 99.56 kB / 473.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/0.3346, allocations: 15.97 kB / 473.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.3346, allocations: 4 kB / 473.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-06/0.3346, allocations: 3.984 kB / 473.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00467/0.3392, allocations: 2.629 MB / 476.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.3393, allocations: 8.062 kB / 476.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.3398, allocations: 107.9 kB / 476.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.34, allocations: 96.72 kB / 476.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.3401, allocations: 19.94 kB / 476.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.3424, allocations: 2.161 MB / 478.7 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3424, allocations: 96 / 478.7 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.3448, allocations: 1.42 MB / 480.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.3452, allocations: 151.4 kB / 480.3 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3453, allocations: 19.92 kB / 480.3 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.3458, allocations: 47.97 kB / 480.4 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.3459, allocations: 60.31 kB / 480.4 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.3459, allocations: 20 kB / 480.4 MB, free: 3.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007787/0.3467, allocations: 0.5536 MB / 481 MB, free: 3.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3467, allocations: 0 / 481 MB, free: 3.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001091/0.3478, allocations: 296 kB / 481.3 MB, free: 2.746 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002708/0.3505, allocations: 2.002 MB / 483.3 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.3523, allocations: 0.9647 MB / 484.2 MB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.3523, allocations: 4 kB / 484.2 MB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009146/0.3532, allocations: 0.5446 MB / 484.8 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.3543, allocations: 218.8 kB / 485 MB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.3703, allocations: 10.15 MB / 495.2 MB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.3719, allocations: 1.72 MB / 496.9 MB, free: 2.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006071/0.3725, allocations: 199.1 kB / 497.1 MB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008367/0.3734, allocations: 0.6438 MB / 497.7 MB, free: 1.832 MB / 398.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3734, allocations: 0 / 497.7 MB, free: 1.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06973/0.4431, allocations: 25.08 MB / 0.5105 GB, free: 9.012 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.26, allocations: 21.28 kB / 0.5106 GB, free: 9 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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: 15.900621086999308]