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.0009786/0.0009786, allocations: 85.91 kB / 22.21 MB, free: 2.281 MB / 18.57 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.001006/0.001006, allocations: 164.9 kB / 25.61 MB, free: 8.59 MB / 18.57 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 0.9191/0.9191, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.171e-05, allocations: 8.844 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004582/0.004593, allocations: 5.722 MB / 279.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.006607, allocations: 1.674 MB / 281.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003199/0.006926, allocations: 63.62 kB / 281.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.007334, allocations: 322 kB / 281.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006917/0.008025, allocations: 406.2 kB / 282.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.008417, allocations: 359.5 kB / 282.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.009627, allocations: 2.09 MB / 284.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.01087, allocations: 1.56 MB / 286.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.01193, allocations: 1.642 MB / 287.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.01307, allocations: 1.161 MB / 289.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.0133, allocations: 308 kB / 289.4 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.01373, allocations: 455.6 kB / 289.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004119/0.01414, allocations: 0.7635 MB / 290.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005781/0.01472, allocations: 0.881 MB / 291.5 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.0161, allocations: 2.103 MB / 293.6 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.0161, allocations: 0 / 293.6 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.0161, allocations: 4 kB / 293.6 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.01612, allocations: 0 / 293.6 MB, free: 0.6914 MB / 266.7 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.002611/0.01873, allocations: 2.588 MB / 296.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.01876, allocations: 8.031 kB / 296.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005731/0.01933, allocations: 459.4 kB / 296.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.02034, allocations: 1.107 MB / 297.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/0.02043, allocations: 176.9 kB / 297.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.02061, allocations: 220.4 kB / 298.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.022, allocations: 1.201 MB / 299.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.02204, allocations: 7.922 kB / 299.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.02215, allocations: 95.98 kB / 299.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.611e-05/0.02222, allocations: 84.48 kB / 299.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007408/0.02296, allocations: 0.5306 MB / 300 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0057/0.02866, allocations: 5.715 MB / 305.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.02903, allocations: 408 kB / 306.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.02941, allocations: 324.2 kB / 306.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.02944, allocations: 12.5 kB / 306.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.02946, allocations: 49.83 kB / 306.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 2.104e-06/0.02946, allocations: 0 / 306.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=65): time 0.001406/0.03087, allocations: 1.127 MB / 307.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.0309, allocations: 67.98 kB / 307.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.03136, allocations: 0.6864 MB / 308.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.03139, allocations: 37.7 kB / 308.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.03181, allocations: 1.017 MB / 309.5 MB, free: 316 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.03216, allocations: 242 kB / 309.7 MB, free: 72 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.03231, allocations: 164.2 kB / 309.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.0325, allocations: 0.5936 MB / 310.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.03262, allocations: 85.92 kB / 310.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.0329, allocations: 416.7 kB / 310.9 MB, free: 14.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.03337, allocations: 0.5692 MB / 311.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.03338, allocations: 0 / 311.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007162/0.03409, allocations: 0.6174 MB / 312.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.03411, allocations: 8 kB / 312.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.03413, allocations: 8 kB / 312.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.03433, allocations: 75.89 kB / 312.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.03469, allocations: 155.8 kB / 312.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.03593, allocations: 2.286 MB / 314.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.03614, allocations: 31.94 kB / 314.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.03618, allocations: 24 kB / 314.7 MB, free: 10.65 MB / 298.7 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.0002696/0.03645, allocations: 212.3 kB / 314.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.03658, allocations: 99.48 kB / 315 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.03669, allocations: 87.53 kB / 315.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.0367, allocations: 12 kB / 315.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.03671, allocations: 4 kB / 315.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.03672, allocations: 3.984 kB / 315.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.03905, allocations: 1.892 MB / 317 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.03905, allocations: 0 / 317 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.03927, allocations: 95.98 kB / 317.1 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.03941, allocations: 75.56 kB / 317.2 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.03944, allocations: 15.98 kB / 317.2 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.04055, allocations: 2.255 MB / 319.5 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.04056, allocations: 4 kB / 319.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.04127, allocations: 0.7452 MB / 320.2 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.04141, allocations: 123.4 kB / 320.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.04147, allocations: 19.98 kB / 320.3 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.04165, allocations: 32.05 kB / 320.4 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.04172, allocations: 44.36 kB / 320.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.04175, allocations: 15.98 kB / 320.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002447/0.04199, allocations: 406.8 kB / 320.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.04199, allocations: 0 / 320.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006127/0.04261, allocations: 299.9 kB / 321.1 MB, free: 3.992 MB / 298.7 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.0001947/0.0428, allocations: 135.2 kB / 321.3 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006034/0.0434, allocations: 0.5938 MB / 321.9 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.04341, allocations: 0 / 321.9 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.04374, allocations: 413.7 kB / 322.3 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.04434, allocations: 227.1 kB / 322.5 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.04752, allocations: 2.887 MB / 325.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.04786, allocations: 0.5202 MB / 325.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.04808, allocations: 107 kB / 326 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.04843, allocations: 278 kB / 326.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of SimCode: time 6.22e-07/0.04843, allocations: 0 / 326.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of Templates: time 0.01755/0.06598, allocations: 13.36 MB / 339.6 MB, free: 1.574 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.80999618396163]