Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.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.0007985/0.0007985, allocations: 85.8 kB / 21.42 MB, free: 3.066 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.0009086/0.0009086, allocations: 163.8 kB / 24.82 MB, free: 9.297 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 1.017/1.017, allocations: 177 MB / 205.1 MB, free: 5.473 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.334e-05, allocations: 5.266 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01406/0.01408, allocations: 15.32 MB / 288.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1233/0.1374, allocations: 4.092 MB / 292.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.1392, allocations: 164.2 kB / 292.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007368/0.1466, allocations: 7.738 MB / 300.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.1496, allocations: 1.37 MB / 302 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.1515, allocations: 1.219 MB / 303.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005828/0.1573, allocations: 8.587 MB / 311.8 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01477/0.1721, allocations: 14.28 MB / 326.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007895/0.18, allocations: 7.394 MB / 333.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005467/0.1855, allocations: 5.27 MB / 338.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001929/0.1874, allocations: 1.379 MB / 340.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.1894, allocations: 1.661 MB / 341.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.191, allocations: 2.671 MB / 344.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003288/0.1943, allocations: 3.53 MB / 348 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007401/0.2017, allocations: 8.875 MB / 356.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2017, allocations: 0 / 356.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2017, allocations: 0 / 356.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001461/0.2018, allocations: 0 / 356.9 MB, free: 13.95 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.01395/0.2158, allocations: 11.18 MB / 368.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2158, allocations: 15.98 kB / 368.1 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009276/0.2251, allocations: 3.731 MB / 371.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.2298, allocations: 4.612 MB / 376.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/0.2301, allocations: 0.6794 MB / 377.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008372/0.231, allocations: 0.8906 MB / 378 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007081/0.238, allocations: 4.907 MB / 382.9 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.2382, allocations: 11.94 kB / 382.9 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005204/0.2387, allocations: 376 kB / 383.3 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/0.2389, allocations: 403.1 kB / 383.7 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003963/0.2429, allocations: 2.727 MB / 386.4 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03341/0.2763, allocations: 35.31 MB / 421.7 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.2796, allocations: 2.784 MB / 424.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/0.2802, allocations: 0.565 MB / 425 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.2804, allocations: 102.6 kB / 425.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.2804, allocations: 63.39 kB / 425.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 3.877e-06/0.2804, allocations: 4 kB / 425.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.003422/0.2839, allocations: 2.195 MB / 427.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2839, allocations: 77.41 kB / 427.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.2867, allocations: 2.916 MB / 430.4 MB, free: 3.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-05/0.2868, allocations: 61.7 kB / 430.5 MB, free: 3.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2023/0.4891, allocations: 4.231 MB / 434.7 MB, free: 92.49 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007146/0.4898, allocations: 0.8601 MB / 435.6 MB, free: 92.07 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.4908, allocations: 1.122 MB / 436.7 MB, free: 91.97 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.4909, allocations: 481.5 kB / 437.1 MB, free: 91.5 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006471/0.4915, allocations: 485.7 kB / 437.6 MB, free: 91.48 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.493, allocations: 3.816 MB / 441.4 MB, free: 87.42 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.4954, allocations: 4.784 MB / 446.2 MB, free: 83.34 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-05/0.4954, allocations: 21.28 kB / 446.2 MB, free: 83.34 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.003562/0.499, allocations: 3.644 MB / 449.9 MB, free: 83.04 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.499, allocations: 36.52 kB / 449.9 MB, free: 83.04 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/0.499, allocations: 78.78 kB / 450 MB, free: 83.03 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/0.4996, allocations: 367.1 kB / 450.4 MB, free: 83 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.501, allocations: 0.9903 MB / 451.3 MB, free: 83 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.5028, allocations: 3.358 MB / 454.7 MB, free: 81 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.5041, allocations: 0.542 MB / 455.2 MB, free: 80.83 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.5043, allocations: 214.3 kB / 455.5 MB, free: 80.83 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001413/0.5057, allocations: 499.4 kB / 455.9 MB, free: 80.67 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.506, allocations: 356.1 kB / 456.3 MB, free: 80.52 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.5078, allocations: 1.863 MB / 458.2 MB, free: 80.32 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001103/0.5089, allocations: 1.13 MB / 459.3 MB, free: 80.22 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5089, allocations: 3.844 kB / 459.3 MB, free: 80.22 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.5089, allocations: 11.48 kB / 459.3 MB, free: 80.22 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007059/0.516, allocations: 7.57 MB / 466.9 MB, free: 79.56 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.516, allocations: 0 / 466.9 MB, free: 79.56 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.5167, allocations: 351.4 kB / 467.2 MB, free: 79.56 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/0.5171, allocations: 282.8 kB / 467.5 MB, free: 79.53 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/0.5172, allocations: 54.86 kB / 467.5 MB, free: 79.53 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.5189, allocations: 3.201 MB / 470.7 MB, free: 77.52 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5189, allocations: 0 / 470.7 MB, free: 77.52 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.5209, allocations: 2.175 MB / 472.9 MB, free: 77.01 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.5214, allocations: 474.2 kB / 473.4 MB, free: 76.85 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.5215, allocations: 42.39 kB / 473.4 MB, free: 76.85 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.5219, allocations: 53.52 kB / 473.5 MB, free: 76.85 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.5221, allocations: 154.4 kB / 473.6 MB, free: 76.84 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.5221, allocations: 52.81 kB / 473.7 MB, free: 76.84 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0008208/0.523, allocations: 1.17 MB / 474.8 MB, free: 76.66 MB / 378.8 MB Notification: Performance of sort global known variables: time 1e-07/0.523, allocations: 3.438 kB / 474.8 MB, free: 76.66 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003155/0.5261, allocations: 1.995 MB / 476.8 MB, free: 76.34 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002878/0.5264, allocations: 203.4 kB / 477 MB, free: 76.25 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.002285/0.5287, allocations: 2.603 MB / 479.6 MB, free: 74.46 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5287, allocations: 4 kB / 479.7 MB, free: 74.45 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.5294, allocations: 1.022 MB / 480.7 MB, free: 73.71 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.5308, allocations: 0.6917 MB / 481.4 MB, free: 73.3 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009425/0.5402, allocations: 11.32 MB / 492.7 MB, free: 62.89 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.5414, allocations: 2.295 MB / 495 MB, free: 61.19 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0009622/0.5424, allocations: 484.2 kB / 495.5 MB, free: 60.83 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009084/0.5433, allocations: 0.715 MB / 496.2 MB, free: 60.21 MB / 378.8 MB Notification: Performance of SimCode: time 1.242e-06/0.5433, allocations: 0 / 496.2 MB, free: 60.21 MB / 378.8 MB Notification: Performance of Templates: time 0.05074/0.594, allocations: 42.09 MB / 0.5256 GB, free: 18.8 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/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: 3.9178480729460716]