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.001015/0.001015, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0009926/0.0009926, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9376/0.9376, allocations: 177.1 MB / 205 MB, free: 5.309 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.548e-05, allocations: 2.312 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005239/0.005264, allocations: 5.853 MB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.00817, allocations: 1.682 MB / 280.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.008636, allocations: 59.62 kB / 280.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.009092, allocations: 321.4 kB / 280.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.01012, allocations: 393 kB / 281.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.01081, allocations: 363.5 kB / 281.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.01244, allocations: 2.078 MB / 283.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.01389, allocations: 1.556 MB / 285.3 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.01544, allocations: 1.626 MB / 286.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.01671, allocations: 1.158 MB / 288 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004497/0.01716, allocations: 308 kB / 288.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005641/0.01772, allocations: 455.5 kB / 288.8 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.01816, allocations: 0.7675 MB / 289.6 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1608/0.1789, allocations: 0.8841 MB / 290.4 MB, free: 18.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.1822, allocations: 2.088 MB / 292.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1822, allocations: 1.469 kB / 292.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1822, allocations: 0 / 292.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001166/0.1823, allocations: 0 / 292.5 MB, free: 18.64 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004576/0.1869, allocations: 2.616 MB / 295.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1869, allocations: 9.156 kB / 295.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008754/0.1878, allocations: 464.4 kB / 295.6 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.1894, allocations: 1.165 MB / 296.8 MB, free: 17.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.1895, allocations: 169.9 kB / 296.9 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/0.1897, allocations: 226.1 kB / 297.2 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.1922, allocations: 1.356 MB / 298.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.1922, allocations: 3.938 kB / 298.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.1924, allocations: 99.03 kB / 298.6 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-05/0.1924, allocations: 57.61 kB / 298.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.1938, allocations: 0.6881 MB / 299.4 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006368/0.2001, allocations: 6.108 MB / 305.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.2006, allocations: 442.6 kB / 305.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/0.201, allocations: 354 kB / 306.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.2011, allocations: 18.28 kB / 306.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.2011, allocations: 41.52 kB / 306.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.816e-06/0.2011, allocations: 0 / 306.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.00196/0.2031, allocations: 1.444 MB / 307.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.2031, allocations: 61 kB / 307.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.2036, allocations: 0.7123 MB / 308.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.2036, allocations: 37.42 kB / 308.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.2039, allocations: 1.005 MB / 309.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/0.204, allocations: 246.2 kB / 309.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.2041, allocations: 154.6 kB / 310 MB, free: 10.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2043, allocations: 0.5845 MB / 310.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.2044, allocations: 108.4 kB / 310.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.2047, allocations: 453.2 kB / 311.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.2051, allocations: 0.6132 MB / 311.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2052, allocations: 3.625 kB / 311.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007653/0.2059, allocations: 0.6804 MB / 312.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2059, allocations: 12.67 kB / 312.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2059, allocations: 10.16 kB / 312.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.2062, allocations: 69.34 kB / 312.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.2065, allocations: 169.9 kB / 312.6 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.2075, allocations: 2.323 MB / 315 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.2078, allocations: 35.97 kB / 315 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.2079, allocations: 40.95 kB / 315 MB, free: 6.707 MB / 266.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.0004056/0.2083, allocations: 202.4 kB / 315.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.2084, allocations: 110.7 kB / 315.3 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.06e-05/0.2085, allocations: 91.5 kB / 315.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.2085, allocations: 8 kB / 315.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2085, allocations: 4 kB / 315.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2085, allocations: 3.984 kB / 315.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.2103, allocations: 1.964 MB / 317.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2103, allocations: 0 / 317.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.2106, allocations: 103 kB / 317.5 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.2107, allocations: 71.78 kB / 317.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.2107, allocations: 19.98 kB / 317.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008104/0.2115, allocations: 2.306 MB / 319.9 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2115, allocations: 0 / 319.9 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.2122, allocations: 0.8182 MB / 320.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.2124, allocations: 139.4 kB / 320.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.2124, allocations: 12 kB / 320.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.2126, allocations: 38 kB / 320.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.274e-05/0.2127, allocations: 56.39 kB / 321 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.2127, allocations: 16 kB / 321 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.213, allocations: 443 kB / 321.4 MB, free: 172 kB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.213, allocations: 0 / 321.4 MB, free: 172 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008272/0.2138, allocations: 304 kB / 321.7 MB, free: 15.87 MB / 282.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.0001987/0.214, allocations: 133 kB / 321.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007579/0.2148, allocations: 0.6481 MB / 322.5 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2148, allocations: 0 / 322.5 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.2152, allocations: 425.1 kB / 322.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.2158, allocations: 229 kB / 323.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.2194, allocations: 2.901 MB / 326 MB, free: 11.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.2199, allocations: 0.5202 MB / 326.5 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003848/0.2203, allocations: 166.9 kB / 326.7 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.2204, allocations: 64.48 kB / 326.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2204, allocations: 0 / 326.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Templates: time 0.0172/0.2376, allocations: 12.9 MB / 339.7 MB, free: 14.11 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] 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","",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.948537108954042]