Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 59.89 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2665, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00767/0.2741, allocations: 5.362 MB / 437.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.2777, allocations: 1.643 MB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000447/0.2781, allocations: 63.62 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.2787, allocations: 321.4 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.2798, allocations: 397.4 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.2804, allocations: 355.6 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.2826, allocations: 2.028 MB / 442.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.2846, allocations: 1.544 MB / 444.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.2859, allocations: 1.079 MB / 445.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.2875, allocations: 1.159 MB / 446.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000399/0.2879, allocations: 312 kB / 446.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007417/0.2886, allocations: 447.7 kB / 447.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006408/0.2893, allocations: 0.7363 MB / 447.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.2903, allocations: 1.015 MB / 448.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.2939, allocations: 3.848 MB / 452.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2939, allocations: 0 / 452.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2939, allocations: 0 / 452.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.303e-05/0.2939, allocations: 0 / 452.7 MB, free: 2.137 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.004266/0.2982, allocations: 2.446 MB / 455.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2982, allocations: 15.98 kB / 455.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007858/0.299, allocations: 283.4 kB / 455.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.3015, allocations: 1.27 MB / 456.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.3016, allocations: 168.9 kB / 456.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.3019, allocations: 224.1 kB / 457.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004219/0.3062, allocations: 2.625 MB / 459.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.3062, allocations: 0 / 459.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.3064, allocations: 95.94 kB / 459.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.3065, allocations: 84.55 kB / 459.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.3101, allocations: 2.145 MB / 462 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.3213, allocations: 6.43 MB / 468.4 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3224, allocations: 0.6863 MB / 469.1 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.3235, allocations: 0.5907 MB / 469.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.3235, allocations: 12.44 kB / 469.7 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3236, allocations: 39.06 kB / 469.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.925e-06/0.3236, allocations: 0 / 469.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004133/0.3277, allocations: 2.383 MB / 472.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3277, allocations: 60 kB / 472.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.3288, allocations: 0.793 MB / 473 MB, free: 13.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.3288, allocations: 41.7 kB / 473 MB, free: 13.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006856/0.3295, allocations: 0.9519 MB / 474 MB, free: 12.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.3297, allocations: 234 kB / 474.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.3299, allocations: 158.5 kB / 474.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3301, allocations: 386.8 kB / 474.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.3307, allocations: 361.8 kB / 475.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007906/0.3315, allocations: 0.5829 MB / 475.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.3329, allocations: 0.9795 MB / 476.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.333, allocations: 4 kB / 476.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00198/0.3349, allocations: 1.154 MB / 477.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.335, allocations: 8 kB / 477.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.335, allocations: 8 kB / 477.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.3353, allocations: 112.8 kB / 477.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/0.3359, allocations: 167.7 kB / 478.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.3384, allocations: 2.18 MB / 480.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.3389, allocations: 39.97 kB / 480.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.339, allocations: 32.19 kB / 480.4 MB, free: 5.637 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.001069/0.3401, allocations: 0.6497 MB / 481 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.3402, allocations: 99.34 kB / 481.1 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.3404, allocations: 95.47 kB / 481.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.3404, allocations: 8 kB / 481.2 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3405, allocations: 4 kB / 481.2 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.3405, allocations: 3.984 kB / 481.2 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.3445, allocations: 2.236 MB / 483.5 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3445, allocations: 0 / 483.5 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.345, allocations: 103.9 kB / 483.6 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002335/0.3452, allocations: 104.9 kB / 483.7 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.3453, allocations: 12 kB / 483.7 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.3474, allocations: 2.117 MB / 485.8 MB, free: 28 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3474, allocations: 8 kB / 485.8 MB, free: 20 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.3497, allocations: 1.415 MB / 487.2 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.3502, allocations: 151.5 kB / 487.4 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.636e-05/0.3503, allocations: 23.92 kB / 487.4 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.3507, allocations: 43.97 kB / 487.4 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3508, allocations: 56.33 kB / 487.5 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.3509, allocations: 20 kB / 487.5 MB, free: 14.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007389/0.3516, allocations: 0.5419 MB / 488 MB, free: 13.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3516, allocations: 0 / 488 MB, free: 13.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001147/0.3528, allocations: 300 kB / 488.3 MB, free: 13.45 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.0002572/0.353, allocations: 135.1 kB / 488.5 MB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.3547, allocations: 0.9728 MB / 489.4 MB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3547, allocations: 4.062 kB / 489.4 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008693/0.3556, allocations: 0.5362 MB / 490 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.3566, allocations: 211 kB / 490.2 MB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.3621, allocations: 3.289 MB / 493.5 MB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.3634, allocations: 1.112 MB / 494.6 MB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.3636, allocations: 67.42 kB / 494.7 MB, free: 7.008 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3636, allocations: 0 / 494.7 MB, free: 7.008 MB / 398.1 MB Notification: Performance of Templates: time 0.04144/0.405, allocations: 29.42 MB / 0.5118 GB, free: 9.617 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/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_trunk_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: 9.942693528253585]