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.001426/0.001426, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001467/0.001467, allocations: 191.7 kB / 23.71 MB, free: 4.406 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.562/1.562, allocations: 225.7 MB / 252.5 MB, free: 12.79 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: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 55.92 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2938, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007927/0.3018, allocations: 5.341 MB / 428.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.3058, allocations: 1.589 MB / 430 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009401/0.3067, allocations: 59.62 kB / 430.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.3075, allocations: 321.5 kB / 430.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.3091, allocations: 381.5 kB / 430.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008243/0.3099, allocations: 359.5 kB / 431.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.3122, allocations: 2.017 MB / 433.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.3143, allocations: 1.543 MB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.3155, allocations: 1.063 MB / 435.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.3171, allocations: 1.152 MB / 436.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004057/0.3175, allocations: 308 kB / 437.2 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008102/0.3183, allocations: 455.6 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.319, allocations: 0.7286 MB / 438.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.3201, allocations: 1.027 MB / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.3239, allocations: 3.815 MB / 443.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3239, allocations: 0 / 443.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.3239, allocations: 3.984 kB / 443.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.33e-05/0.3239, allocations: 0 / 443.2 MB, free: 10.23 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.004489/0.3284, allocations: 2.442 MB / 445.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3284, allocations: 16.03 kB / 445.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005663/0.329, allocations: 251.4 kB / 445.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.3315, allocations: 1.25 MB / 447.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.3317, allocations: 164.9 kB / 447.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.332, allocations: 224.1 kB / 447.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004391/0.3364, allocations: 2.617 MB / 450.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.3364, allocations: 0 / 450.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.3366, allocations: 92 kB / 450.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-05/0.3367, allocations: 56 kB / 450.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.3404, allocations: 2.141 MB / 452.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/0.3517, allocations: 6.399 MB / 458.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3528, allocations: 0.6887 MB / 459.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.3539, allocations: 0.6024 MB / 460.1 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.354, allocations: 4.5 kB / 460.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.354, allocations: 43 kB / 460.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.836e-06/0.354, allocations: 0 / 460.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004298/0.3583, allocations: 2.379 MB / 462.5 MB, free: 6.453 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.3583, allocations: 56.06 kB / 462.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3594, allocations: 0.7814 MB / 463.4 MB, free: 5.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.3594, allocations: 33.7 kB / 463.4 MB, free: 5.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000676/0.3601, allocations: 0.9518 MB / 464.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.3603, allocations: 238 kB / 464.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.3605, allocations: 158.6 kB / 464.7 MB, free: 4.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.3607, allocations: 390.8 kB / 465.1 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.3613, allocations: 361.8 kB / 465.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/0.3621, allocations: 0.579 MB / 466.1 MB, free: 2.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.3636, allocations: 0.9872 MB / 467.1 MB, free: 1.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3636, allocations: 0 / 467.1 MB, free: 1.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00195/0.3655, allocations: 1.146 MB / 468.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3655, allocations: 10.91 kB / 468.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.3655, allocations: 11.94 kB / 468.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/0.3658, allocations: 120.7 kB / 468.3 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.3665, allocations: 167.8 kB / 468.5 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.369, allocations: 2.177 MB / 470.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.3695, allocations: 48.02 kB / 470.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.3695, allocations: 32 kB / 470.8 MB, free: 13.88 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.001085/0.3706, allocations: 0.6457 MB / 471.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.3708, allocations: 83.48 kB / 471.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.371, allocations: 95.38 kB / 471.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/0.371, allocations: 19.92 kB / 471.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.371, allocations: 4 kB / 471.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3711, allocations: 0 / 471.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.3753, allocations: 2.224 MB / 473.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3753, allocations: 192 / 473.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.3757, allocations: 111.8 kB / 473.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.376, allocations: 100.7 kB / 474 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.376, allocations: 16.16 kB / 474 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.3782, allocations: 2.125 MB / 476.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3782, allocations: 0 / 476.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.3805, allocations: 1.419 MB / 477.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.3809, allocations: 151.4 kB / 477.7 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-05/0.381, allocations: 20 kB / 477.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.3814, allocations: 39.95 kB / 477.8 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.3816, allocations: 52.41 kB / 477.8 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.3816, allocations: 24.06 kB / 477.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007563/0.3824, allocations: 0.538 MB / 478.4 MB, free: 6.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3824, allocations: 0 / 478.4 MB, free: 6.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001055/0.3834, allocations: 300 kB / 478.7 MB, free: 5.719 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.0002565/0.3837, allocations: 143 kB / 478.8 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.3854, allocations: 0.9687 MB / 479.8 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3854, allocations: 0 / 479.8 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008821/0.3862, allocations: 0.5445 MB / 480.4 MB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3873, allocations: 206.9 kB / 480.6 MB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/0.3926, allocations: 3.277 MB / 483.8 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.3938, allocations: 1.144 MB / 485 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005345/0.3944, allocations: 202.9 kB / 485.2 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.3946, allocations: 59.42 kB / 485.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3946, allocations: 0 / 485.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of Templates: time 0.02639/0.4209, allocations: 14.24 MB / 499.5 MB, free: 1.062 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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: 4.954936200752854]