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.001402/0.001402, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001737/0.001737, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.547/1.547, allocations: 230.6 MB / 254.1 MB, free: 15.12 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: 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.1.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.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 47.92 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1055, allocations: 53.32 MB / 426.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.2161/0.3216, allocations: 6.053 MB / 432.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.3247, allocations: 1.686 MB / 434.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005571/0.3252, allocations: 60.47 kB / 434.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.3258, allocations: 323.7 kB / 434.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.3268, allocations: 368.6 kB / 435.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.3275, allocations: 357.1 kB / 435.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.3293, allocations: 2.017 MB / 437.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/0.3315, allocations: 2.024 MB / 439.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.3328, allocations: 1.069 MB / 440.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.3344, allocations: 1.227 MB / 442 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005718/0.335, allocations: 309.7 kB / 442.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008382/0.3358, allocations: 476.2 kB / 442.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000563/0.3364, allocations: 0.7327 MB / 443.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.3377, allocations: 1.268 MB / 444.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004167/0.3419, allocations: 3.813 MB / 448.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3419, allocations: 1.031 kB / 448.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3419, allocations: 1.312 kB / 448.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000122/0.342, allocations: 5.062 kB / 448.6 MB, free: 1.789 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.005468/0.3475, allocations: 2.52 MB / 451.1 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3475, allocations: 8.438 kB / 451.1 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/0.3484, allocations: 279.4 kB / 451.4 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.3507, allocations: 1.337 MB / 452.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.3509, allocations: 167.6 kB / 452.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.3512, allocations: 216.8 kB / 453.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/0.356, allocations: 2.541 MB / 455.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/0.356, allocations: 0 / 455.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.3562, allocations: 90.34 kB / 455.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.386e-05/0.3563, allocations: 56.97 kB / 455.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.3601, allocations: 2.156 MB / 457.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.3742, allocations: 7.501 MB / 465.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.3756, allocations: 1.212 MB / 466.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.3768, allocations: 0.5999 MB / 467.2 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.3768, allocations: 7.062 kB / 467.2 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3768, allocations: 43.28 kB / 467.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.196e-06/0.3769, allocations: 0 / 467.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004724/0.3816, allocations: 2.456 MB / 469.7 MB, free: 4.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.3816, allocations: 59.06 kB / 469.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3828, allocations: 0.7966 MB / 470.6 MB, free: 3.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.3828, allocations: 40.3 kB / 470.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/0.3835, allocations: 0.954 MB / 471.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.3837, allocations: 233.5 kB / 471.8 MB, free: 2.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.384, allocations: 152.5 kB / 471.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.3842, allocations: 396.7 kB / 472.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/0.3848, allocations: 368.4 kB / 472.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008891/0.3857, allocations: 0.575 MB / 473.3 MB, free: 1.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.3871, allocations: 0.9855 MB / 474.3 MB, free: 300 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3871, allocations: 4 kB / 474.3 MB, free: 296 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002014/0.3891, allocations: 1.147 MB / 475.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3892, allocations: 12.59 kB / 475.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3892, allocations: 12 kB / 475.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/0.3895, allocations: 104.8 kB / 475.5 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/0.3902, allocations: 179.7 kB / 475.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.3929, allocations: 2.328 MB / 478 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.3934, allocations: 40.03 kB / 478.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.3935, allocations: 32 kB / 478.1 MB, free: 12.29 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.001108/0.3946, allocations: 0.6419 MB / 478.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.3948, allocations: 95.36 kB / 478.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.395, allocations: 103.7 kB / 478.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/0.3951, allocations: 11.94 kB / 479 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.3951, allocations: 0 / 479 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3951, allocations: 8.172 kB / 479 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/0.3997, allocations: 2.659 MB / 481.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3997, allocations: 3.938 kB / 481.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.4002, allocations: 103.9 kB / 481.7 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/0.4005, allocations: 106.2 kB / 481.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.4005, allocations: 15.98 kB / 481.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.403, allocations: 2.273 MB / 484.1 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.403, allocations: 0 / 484.1 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.4054, allocations: 1.425 MB / 485.5 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.4058, allocations: 224.5 kB / 485.8 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.4059, allocations: 15.98 kB / 485.8 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.4063, allocations: 43.91 kB / 485.8 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.4065, allocations: 52.42 kB / 485.9 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.4065, allocations: 20 kB / 485.9 MB, free: 4.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008367/0.4074, allocations: 0.5654 MB / 486.5 MB, free: 3.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4074, allocations: 0 / 486.5 MB, free: 3.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001217/0.4086, allocations: 300 kB / 486.7 MB, free: 3.359 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.0002641/0.4088, allocations: 139 kB / 486.9 MB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.4107, allocations: 0.972 MB / 487.9 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4107, allocations: 0 / 487.9 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.4116, allocations: 0.5331 MB / 488.4 MB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.4128, allocations: 224 kB / 488.6 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005743/0.4185, allocations: 3.26 MB / 491.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.4201, allocations: 1.723 MB / 493.6 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005861/0.4207, allocations: 202.3 kB / 493.8 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.4208, allocations: 67.42 kB / 493.9 MB, free: 12.15 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4208, allocations: 0 / 493.9 MB, free: 12.15 MB / 398.1 MB Notification: Performance of Templates: time 0.02716/0.448, allocations: 12.63 MB / 0.4946 GB, free: 15.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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: 5.059255361557007]