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.0009474/0.0009474, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009943/0.0009943, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.943/0.943, allocations: 177 MB / 204.8 MB, free: 5.566 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 1.553e-06/1.553e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.521e-05, allocations: 5.266 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01146/0.01147, allocations: 15.92 MB / 288.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1224/0.1339, allocations: 4.11 MB / 292.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.1354, allocations: 164.5 kB / 293.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007398/0.1428, allocations: 7.969 MB / 301.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.1455, allocations: 1.383 MB / 302.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.1471, allocations: 1.238 MB / 303.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005443/0.1525, allocations: 8.577 MB / 312.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/0.1675, allocations: 14.28 MB / 326.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006948/0.1744, allocations: 7.396 MB / 334 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005146/0.1796, allocations: 5.247 MB / 339.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001569/0.1811, allocations: 1.387 MB / 340.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.183, allocations: 1.661 MB / 342.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.1844, allocations: 2.67 MB / 344.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.1872, allocations: 3.532 MB / 348.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006645/0.1938, allocations: 8.882 MB / 357.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1938, allocations: 0 / 357.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1938, allocations: 0 / 357.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001083/0.1939, allocations: 0 / 357.3 MB, free: 13.52 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.02079/0.2147, allocations: 11.42 MB / 368.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.2148, allocations: 11.98 kB / 368.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/0.2288, allocations: 4.842 MB / 373.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005682/0.2345, allocations: 5.064 MB / 378.7 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/0.2348, allocations: 0.6833 MB / 379.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008673/0.2357, allocations: 0.8867 MB / 380.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009/0.2447, allocations: 5.571 MB / 385.8 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.2448, allocations: 15.94 kB / 385.8 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005525/0.2453, allocations: 380 kB / 386.2 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002355/0.2456, allocations: 391.1 kB / 386.6 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006636/0.2522, allocations: 3.453 MB / 390 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03202/0.2842, allocations: 35.75 MB / 425.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004222/0.2884, allocations: 3.361 MB / 429.1 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00087/0.2893, allocations: 0.6705 MB / 429.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.2895, allocations: 81.94 kB / 429.9 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.2895, allocations: 63.38 kB / 430 MB, free: 3.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 4.058e-06/0.2895, allocations: 0 / 430 MB, free: 3.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.004005/0.2935, allocations: 2.453 MB / 432.4 MB, free: 1.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.2935, allocations: 77.41 kB / 432.5 MB, free: 1.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2211/0.5146, allocations: 3.022 MB / 435.5 MB, free: 91.8 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003007/0.5149, allocations: 57.73 kB / 435.6 MB, free: 91.77 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00183/0.5167, allocations: 4.225 MB / 439.8 MB, free: 90.3 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000517/0.5173, allocations: 0.8476 MB / 440.6 MB, free: 89.89 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/0.5183, allocations: 1.112 MB / 441.7 MB, free: 89.78 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.326e-05/0.5183, allocations: 482.1 kB / 442.2 MB, free: 89.31 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.5193, allocations: 0.6146 MB / 442.8 MB, free: 89.3 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.5211, allocations: 3.934 MB / 446.8 MB, free: 85.23 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/0.5243, allocations: 4.999 MB / 451.8 MB, free: 81.14 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.5244, allocations: 23.41 kB / 451.8 MB, free: 81.14 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.004416/0.5288, allocations: 3.971 MB / 455.8 MB, free: 80.83 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.5288, allocations: 41.86 kB / 455.8 MB, free: 80.83 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.421e-05/0.5289, allocations: 73.81 kB / 455.9 MB, free: 80.83 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007054/0.5296, allocations: 391.5 kB / 456.3 MB, free: 80.8 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.5312, allocations: 1.061 MB / 457.3 MB, free: 80.8 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.5335, allocations: 3.479 MB / 460.8 MB, free: 78.77 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.5352, allocations: 0.6354 MB / 461.4 MB, free: 78.58 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.5355, allocations: 248.2 kB / 461.7 MB, free: 78.58 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.001387/0.5369, allocations: 493.2 kB / 462.2 MB, free: 78.37 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003838/0.5373, allocations: 359.1 kB / 462.5 MB, free: 78.22 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.5395, allocations: 2.039 MB / 464.5 MB, free: 78.01 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001523/0.541, allocations: 1.301 MB / 465.8 MB, free: 77.91 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.541, allocations: 7.844 kB / 465.9 MB, free: 77.91 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.541, allocations: 15.89 kB / 465.9 MB, free: 77.91 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00779/0.5488, allocations: 7.841 MB / 473.7 MB, free: 76.62 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5488, allocations: 0 / 473.7 MB, free: 76.62 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.5496, allocations: 414.2 kB / 474.1 MB, free: 76.61 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/0.5501, allocations: 289.9 kB / 474.4 MB, free: 76.55 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.438e-05/0.5502, allocations: 50.38 kB / 474.4 MB, free: 76.52 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.552, allocations: 3.316 MB / 477.8 MB, free: 73.93 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.552, allocations: 5.172 kB / 477.8 MB, free: 73.93 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.5546, allocations: 2.452 MB / 480.2 MB, free: 72.91 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/0.5551, allocations: 0.5067 MB / 480.7 MB, free: 72.46 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.5552, allocations: 40 kB / 480.8 MB, free: 72.42 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.5558, allocations: 129.4 kB / 480.9 MB, free: 72.34 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.5559, allocations: 164.8 kB / 481 MB, free: 72.25 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.556, allocations: 67.64 kB / 481.1 MB, free: 72.19 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001035/0.557, allocations: 1.252 MB / 482.4 MB, free: 71.12 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.557, allocations: 4.875 kB / 482.4 MB, free: 71.12 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.002792/0.5598, allocations: 1.988 MB / 484.4 MB, free: 69.12 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.0002901/0.5601, allocations: 202.7 kB / 484.6 MB, free: 68.95 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.002863/0.563, allocations: 2.852 MB / 487.4 MB, free: 66.61 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.563, allocations: 0 / 487.4 MB, free: 66.61 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.564, allocations: 1.104 MB / 488.5 MB, free: 65.66 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.5655, allocations: 0.6854 MB / 489.2 MB, free: 65.14 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.5757, allocations: 11.4 MB / 0.4889 GB, free: 54.61 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.5769, allocations: 2.287 MB / 0.4911 GB, free: 52.6 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001769/0.5786, allocations: 1.459 MB / 0.4925 GB, free: 51.14 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.579, allocations: 240.5 kB / 0.4928 GB, free: 50.91 MB / 378.8 MB Notification: Performance of SimCode: time 1.223e-06/0.579, allocations: 4 kB / 0.4928 GB, free: 50.9 MB / 378.8 MB Notification: Performance of Templates: time 0.04038/0.6194, allocations: 38.57 MB / 0.5304 GB, free: 12.86 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: 4.055039071012288]