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.001168/0.001168, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001793/0.002962, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001064/0.001064, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001519/0.002584, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.043/1.043, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0872/1.13, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.823e-06/1.823e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.434e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005624/0.005648, allocations: 5.805 MB / 251 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.008834, allocations: 1.774 MB / 252.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007022/0.009536, allocations: 59.62 kB / 252.8 MB, free: 5.891 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.01003, allocations: 325.4 kB / 253.2 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.01117, allocations: 405 kB / 253.6 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.01171, allocations: 363.3 kB / 253.9 MB, free: 4.816 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.01313, allocations: 2.094 MB / 256 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.01442, allocations: 1.587 MB / 257.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.01591, allocations: 1.705 MB / 259.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.01701, allocations: 1.181 MB / 260.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005495/0.01756, allocations: 308 kB / 260.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005486/0.01811, allocations: 447.6 kB / 261.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.01847, allocations: 0.6196 MB / 261.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005615/0.01903, allocations: 0.7331 MB / 262.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.02061, allocations: 1.962 MB / 264.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.02062, allocations: 0 / 264.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.02063, allocations: 0 / 264.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.02066, allocations: 4 kB / 264.5 MB, free: 10.09 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.002509/0.02317, allocations: 2.807 MB / 267.3 MB, free: 7.238 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.0232, allocations: 8.625 kB / 267.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006232/0.02383, allocations: 465.7 kB / 267.8 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.02504, allocations: 0.7804 MB / 268.6 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.02512, allocations: 172.9 kB / 268.8 MB, free: 5.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.02529, allocations: 220.4 kB / 269 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.02672, allocations: 1.363 MB / 270.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.02675, allocations: 3.938 kB / 270.3 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.02686, allocations: 92 kB / 270.4 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/0.02693, allocations: 84.55 kB / 270.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.02756, allocations: 467.6 kB / 271 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1356/0.1631, allocations: 4.711 MB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.1636, allocations: 412 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.164, allocations: 295.1 kB / 276.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.1641, allocations: 14.22 kB / 276.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1641, allocations: 38.86 kB / 276.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.725e-06/0.1641, allocations: 0.6562 kB / 276.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002105/0.1662, allocations: 1.027 MB / 277.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.1662, allocations: 63.94 kB / 277.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.1668, allocations: 0.561 MB / 278.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1669, allocations: 35.86 kB / 278.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/0.1674, allocations: 0.8689 MB / 279 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.1676, allocations: 240.7 kB / 279.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.1678, allocations: 135.4 kB / 279.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1679, allocations: 398.1 kB / 279.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1681, allocations: 89.41 kB / 279.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.1683, allocations: 310 kB / 280.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.1688, allocations: 0.4993 MB / 280.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1688, allocations: 3.406 kB / 280.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007607/0.1695, allocations: 0.5027 MB / 281.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1695, allocations: 9.062 kB / 281.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.1696, allocations: 7.188 kB / 281.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/0.1698, allocations: 70.3 kB / 281.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.1702, allocations: 182.2 kB / 281.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009332/0.1712, allocations: 1.674 MB / 283.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.1714, allocations: 26.75 kB / 283.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.1715, allocations: 29.36 kB / 283.1 MB, free: 11.2 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.0003524/0.1718, allocations: 167.2 kB / 283.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.1719, allocations: 71.89 kB / 283.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.172, allocations: 92 kB / 283.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.1721, allocations: 8.188 kB / 283.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.1721, allocations: 6.094 kB / 283.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.1721, allocations: 3.047 kB / 283.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.1743, allocations: 1.57 MB / 285 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1743, allocations: 1.812 kB / 285 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.1746, allocations: 108 kB / 285.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.1748, allocations: 100.3 kB / 285.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.1749, allocations: 72.64 kB / 285.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.175, allocations: 15.17 kB / 285.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008245/0.1758, allocations: 1.664 MB / 287 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1758, allocations: 1.375 kB / 287 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.1765, allocations: 0.6468 MB / 287.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.1766, allocations: 20.38 kB / 287.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1768, allocations: 24.91 kB / 287.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.1769, allocations: 45.98 kB / 287.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.1769, allocations: 14.53 kB / 287.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000301/0.1772, allocations: 267.2 kB / 288 MB, free: 8.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1772, allocations: 0 / 288 MB, free: 8.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009089/0.1781, allocations: 306.1 kB / 288.3 MB, free: 8.949 MB / 266.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.0002169/0.1783, allocations: 119.8 kB / 288.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000715/0.179, allocations: 0.5163 MB / 288.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.252e-05/0.1791, allocations: 15.81 kB / 288.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.1795, allocations: 367.6 kB / 289.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.1804, allocations: 2.119 MB / 291.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.1868, allocations: 3.241 MB / 294.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1871, allocations: 469.3 kB / 295.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003915/0.1875, allocations: 107 kB / 295.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.1879, allocations: 247.1 kB / 295.5 MB, free: 4.832 MB / 266.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1879, allocations: 0 / 295.5 MB, free: 4.832 MB / 266.7 MB Notification: Performance of Templates: time 0.01988/0.2078, allocations: 13.59 MB / 309.1 MB, free: 10.72 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.879954183474183]