Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.001299/0.001299, allocations: 113.1 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.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.00163/0.00163, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 43.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2805, allocations: 53.36 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008369/0.2889, allocations: 6.078 MB / 437.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.2931, allocations: 1.701 MB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.2944, allocations: 59.69 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009973/0.2954, allocations: 321.4 kB / 439.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.2973, allocations: 401.4 kB / 439.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.2984, allocations: 355.5 kB / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003117/0.3015, allocations: 2.013 MB / 442 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.3044, allocations: 1.603 MB / 443.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.3064, allocations: 1.075 MB / 444.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.3089, allocations: 1.222 MB / 445.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006935/0.3096, allocations: 311.9 kB / 446.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.3108, allocations: 0.5152 MB / 446.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007668/0.3116, allocations: 0.7363 MB / 447.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.3132, allocations: 1.268 MB / 448.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004848/0.3181, allocations: 3.808 MB / 452.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3181, allocations: 0 / 452.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3181, allocations: 0 / 452.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001035/0.3182, allocations: 0 / 452.6 MB, free: 1.293 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.005048/0.3232, allocations: 2.45 MB / 455 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.3233, allocations: 8.031 kB / 455 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004313/0.3237, allocations: 336.8 kB / 455.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008435/0.3246, allocations: 279.4 kB / 455.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.3271, allocations: 1.27 MB / 456.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.3272, allocations: 168.9 kB / 457.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.3275, allocations: 219.9 kB / 457.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/0.332, allocations: 2.542 MB / 459.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.3321, allocations: 0 / 459.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.3323, allocations: 92 kB / 459.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.789e-05/0.3324, allocations: 60 kB / 460 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/0.3362, allocations: 2.137 MB / 462.1 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.3489, allocations: 7.358 MB / 469.5 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.3501, allocations: 0.6964 MB / 470.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.3512, allocations: 0.5946 MB / 470.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.3512, allocations: 8.5 kB / 470.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.3513, allocations: 35.06 kB / 470.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.426e-06/0.3513, allocations: 4 kB / 470.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004548/0.3558, allocations: 2.379 MB / 473.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3559, allocations: 64 kB / 473.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.357, allocations: 0.8012 MB / 474.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.3571, allocations: 37.7 kB / 474.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007336/0.3578, allocations: 0.9518 MB / 475 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.3581, allocations: 238 kB / 475.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.3583, allocations: 146.6 kB / 475.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.3585, allocations: 390.8 kB / 475.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/0.3592, allocations: 369.8 kB / 476.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.3599, allocations: 0.5751 MB / 476.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.3614, allocations: 0.9911 MB / 477.7 MB, free: 7.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3614, allocations: 4 kB / 477.7 MB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002087/0.3635, allocations: 1.157 MB / 478.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.3635, allocations: 8.594 kB / 478.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.3635, allocations: 8 kB / 478.9 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.3638, allocations: 120.6 kB / 479 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007076/0.3645, allocations: 171.7 kB / 479.2 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.3671, allocations: 2.21 MB / 481.4 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.3676, allocations: 44.03 kB / 481.4 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.3677, allocations: 32 kB / 481.5 MB, free: 3.594 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.001123/0.3688, allocations: 0.6574 MB / 482.1 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.3691, allocations: 91.38 kB / 482.2 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.3694, allocations: 95.69 kB / 482.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/0.3694, allocations: 8 kB / 482.3 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.3694, allocations: 7.984 kB / 482.3 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3694, allocations: 4 kB / 482.3 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/0.3744, allocations: 2.629 MB / 485 MB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.3744, allocations: 0 / 485 MB, free: 16 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.3749, allocations: 103.9 kB / 485.1 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/0.3752, allocations: 100.9 kB / 485.2 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/0.3753, allocations: 23.98 kB / 485.2 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.3778, allocations: 2.175 MB / 487.4 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3778, allocations: 4.031 kB / 487.4 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.3802, allocations: 1.419 MB / 488.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/0.3807, allocations: 151.5 kB / 488.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.3808, allocations: 19.94 kB / 489 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.3813, allocations: 39.95 kB / 489 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.3815, allocations: 44.41 kB / 489 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.3815, allocations: 23.98 kB / 489.1 MB, free: 11.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008924/0.3824, allocations: 0.5693 MB / 489.6 MB, free: 11.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 0 / 489.6 MB, free: 11.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001334/0.3837, allocations: 303.9 kB / 489.9 MB, free: 10.9 MB / 398.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.003056/0.3868, allocations: 1.998 MB / 491.9 MB, free: 8.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.3888, allocations: 0.961 MB / 492.9 MB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.3889, allocations: 8.062 kB / 492.9 MB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009946/0.3898, allocations: 0.5401 MB / 493.4 MB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.3912, allocations: 230.2 kB / 493.7 MB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.4101, allocations: 10.2 MB / 0.492 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/0.4121, allocations: 1.72 MB / 0.4937 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000711/0.4128, allocations: 203.1 kB / 0.4939 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009733/0.4138, allocations: 0.6438 MB / 0.4945 GB, free: 9.941 MB / 414.1 MB Notification: Performance of SimCode: time 1.644e-06/0.4138, allocations: 4 kB / 0.4946 GB, free: 9.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0714/0.4852, allocations: 25.13 MB / 0.5191 GB, free: 1.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.3, allocations: 3.984 kB / 0.5191 GB, free: 1.062 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.898260622001544]