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.001897/0.001897, allocations: 112.2 kB / 20.43 MB, free: 1.324 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.002053/0.002053, allocations: 182.7 kB / 23.71 MB, free: 4.566 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.466/1.466, 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: 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.001746/0.001746, allocations: 51.92 kB / 370.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2682, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008445/0.2767, allocations: 6.056 MB / 429.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003592/0.2803, allocations: 1.643 MB / 430.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.2808, allocations: 63.62 kB / 430.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006456/0.2815, allocations: 321.4 kB / 431.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.2826, allocations: 389.5 kB / 431.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.2833, allocations: 355.5 kB / 431.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002203/0.2855, allocations: 2.017 MB / 433.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.2876, allocations: 1.599 MB / 435.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.289, allocations: 1.063 MB / 436.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.2907, allocations: 1.222 MB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.2912, allocations: 311.9 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009657/0.2922, allocations: 0.5463 MB / 438.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000712/0.2929, allocations: 0.7325 MB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.2943, allocations: 1.26 MB / 440.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004224/0.2986, allocations: 3.824 MB / 444.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2986, allocations: 0 / 444.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2986, allocations: 0 / 444.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.295e-05/0.2986, allocations: 0 / 444.5 MB, free: 9.176 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.004791/0.3034, allocations: 2.446 MB / 446.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3035, allocations: 8.031 kB / 447 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006634/0.3041, allocations: 251.4 kB / 447.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.3066, allocations: 1.25 MB / 448.4 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.3067, allocations: 168.9 kB / 448.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.3071, allocations: 220.1 kB / 448.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.3118, allocations: 2.542 MB / 451.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/0.3118, allocations: 0 / 451.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.312, allocations: 95.98 kB / 451.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.3122, allocations: 59.98 kB / 451.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.3161, allocations: 2.137 MB / 453.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.3285, allocations: 7.365 MB / 461 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.3296, allocations: 0.6887 MB / 461.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.3307, allocations: 0.6024 MB / 462.3 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.3307, allocations: 4.5 kB / 462.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.3308, allocations: 43.06 kB / 462.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 4.719e-06/0.3308, allocations: 3.984 kB / 462.4 MB, free: 6.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004361/0.3351, allocations: 2.383 MB / 464.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.3352, allocations: 56.06 kB / 464.8 MB, free: 4.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.3363, allocations: 0.7972 MB / 465.6 MB, free: 3.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.3364, allocations: 33.7 kB / 465.6 MB, free: 3.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007009/0.3371, allocations: 0.9479 MB / 466.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.3373, allocations: 238 kB / 466.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.3375, allocations: 150.6 kB / 467 MB, free: 2.242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.3377, allocations: 394.7 kB / 467.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006058/0.3383, allocations: 369.7 kB / 467.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008713/0.3392, allocations: 0.5791 MB / 468.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.3407, allocations: 0.9833 MB / 469.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3407, allocations: 0 / 469.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00198/0.3427, allocations: 1.154 MB / 470.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3427, allocations: 12.03 kB / 470.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3427, allocations: 8 kB / 470.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/0.343, allocations: 112.7 kB / 470.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.3438, allocations: 171.7 kB / 470.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.3462, allocations: 2.219 MB / 472.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.3468, allocations: 44.03 kB / 473 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.3468, allocations: 32 kB / 473 MB, free: 11.86 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.001188/0.348, allocations: 0.6457 MB / 473.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.3482, allocations: 91.38 kB / 473.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.3484, allocations: 99.55 kB / 473.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/0.3485, allocations: 8 kB / 473.9 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.3485, allocations: 8 kB / 473.9 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3485, allocations: 3.984 kB / 473.9 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.3532, allocations: 2.625 MB / 476.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.3532, allocations: 8.062 kB / 476.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.3537, allocations: 107.9 kB / 476.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000246/0.354, allocations: 96.94 kB / 476.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/0.354, allocations: 19.98 kB / 476.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.3564, allocations: 2.171 MB / 478.9 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3564, allocations: 0 / 478.9 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.3586, allocations: 1.423 MB / 480.3 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/0.359, allocations: 155.4 kB / 480.5 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3591, allocations: 12 kB / 480.5 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/0.3596, allocations: 47.89 kB / 480.5 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3597, allocations: 48.34 kB / 480.6 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.3598, allocations: 24.06 kB / 480.6 MB, free: 4.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007906/0.3605, allocations: 0.5536 MB / 481.1 MB, free: 3.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3605, allocations: 0 / 481.1 MB, free: 3.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001183/0.3617, allocations: 307.9 kB / 481.4 MB, free: 3.184 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.0003077/0.362, allocations: 141.1 kB / 481.6 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.3638, allocations: 0.9725 MB / 482.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3638, allocations: 0 / 482.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009058/0.3647, allocations: 0.5368 MB / 483.1 MB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.3659, allocations: 230.1 kB / 483.3 MB, free: 1.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/0.3719, allocations: 3.27 MB / 486.6 MB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.3735, allocations: 1.728 MB / 488.3 MB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006233/0.3741, allocations: 203.1 kB / 488.5 MB, free: 12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.3743, allocations: 55.44 kB / 488.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3743, allocations: 0 / 488.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of Templates: time 0.02847/0.4028, allocations: 13.15 MB / 0.49 GB, free: 14.94 MB / 414.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.852748053148389]