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.0007262/0.0007262, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009808/0.001707, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006785/0.0006785, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008532/0.001532, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.918/0.918, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07678/0.9948, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.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.333e-06/1.333e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03e-05/1.163e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01146/0.01148, allocations: 15.47 MB / 260.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006993/0.01847, allocations: 4.408 MB / 264.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.01956, allocations: 163.2 kB / 265.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00667/0.02623, allocations: 7.917 MB / 273 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.0285, allocations: 1.374 MB / 274.4 MB, free: 172 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1092/0.1377, allocations: 1.213 MB / 275.6 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007721/0.1454, allocations: 8.649 MB / 284.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01501/0.1604, allocations: 14.44 MB / 298.7 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00923/0.1697, allocations: 7.558 MB / 306.2 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006553/0.1762, allocations: 5.439 MB / 311.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002045/0.1783, allocations: 1.38 MB / 313 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/0.1813, allocations: 1.665 MB / 314.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002213/0.1835, allocations: 2.103 MB / 316.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003082/0.1866, allocations: 2.953 MB / 319.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00657/0.1932, allocations: 8.432 MB / 328.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.1932, allocations: 0 / 328.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1932, allocations: 4 kB / 328.2 MB, free: 15.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001135/0.1933, allocations: 0.7812 kB / 328.2 MB, free: 15.1 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.01274/0.206, allocations: 12.11 MB / 340.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2061, allocations: 12.03 kB / 340.3 MB, free: 3.488 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008318/0.2144, allocations: 3.741 MB / 344.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/0.218, allocations: 2.636 MB / 346.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005489/0.2185, allocations: 0.6827 MB / 347.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008048/0.2193, allocations: 0.8865 MB / 348.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006899/0.2262, allocations: 6.104 MB / 354.4 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.2263, allocations: 11.47 kB / 354.4 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005186/0.2268, allocations: 374 kB / 354.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.2271, allocations: 396.1 kB / 355.1 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003366/0.2304, allocations: 2.365 MB / 357.5 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02438/0.2548, allocations: 27.1 MB / 384.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.2577, allocations: 2.462 MB / 387 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.2582, allocations: 497.4 kB / 387.5 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.2584, allocations: 81.94 kB / 387.6 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2584, allocations: 52.56 kB / 387.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 4.348e-06/0.2584, allocations: 0 / 387.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.002645/0.261, allocations: 1.737 MB / 389.4 MB, free: 3.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.2611, allocations: 73.41 kB / 389.5 MB, free: 3.375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.2623, allocations: 1.967 MB / 391.4 MB, free: 1.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.57e-05/0.2624, allocations: 61.7 kB / 391.5 MB, free: 1.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.2639, allocations: 3.755 MB / 395.3 MB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.2643, allocations: 0.8282 MB / 396.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006965/0.265, allocations: 0.8762 MB / 397 MB, free: 12.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.265, allocations: 305.1 kB / 397.3 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.2657, allocations: 0.6441 MB / 397.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.2673, allocations: 2.622 MB / 400.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.2696, allocations: 3.666 MB / 404.2 MB, free: 3.688 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/0.2696, allocations: 20 kB / 404.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.003067/0.2727, allocations: 2.982 MB / 407.2 MB, free: 1.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.2727, allocations: 36 kB / 407.2 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.602e-05/0.2728, allocations: 76.19 kB / 407.3 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.2733, allocations: 345 kB / 407.6 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.2751, allocations: 1.112 MB / 408.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.277, allocations: 2.521 MB / 411.3 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.2783, allocations: 0.5351 MB / 411.8 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.2785, allocations: 204 kB / 412 MB, free: 12.43 MB / 394.7 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.0009982/0.2795, allocations: 462.4 kB / 412.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.2798, allocations: 223.8 kB / 412.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.2817, allocations: 1.551 MB / 414.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008716/0.2826, allocations: 0.8225 MB / 415 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2826, allocations: 4 kB / 415.1 MB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.2826, allocations: 11.95 kB / 415.1 MB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005538/0.2882, allocations: 5.568 MB / 420.6 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2882, allocations: 4 kB / 420.6 MB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/0.289, allocations: 405.7 kB / 421 MB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.2895, allocations: 348.9 kB / 421.4 MB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.29, allocations: 243.9 kB / 421.6 MB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/0.2901, allocations: 47.97 kB / 421.7 MB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.2917, allocations: 2.331 MB / 424 MB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2917, allocations: 4 kB / 424 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1946/0.4863, allocations: 1.728 MB / 425.7 MB, free: 94.81 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004101/0.4867, allocations: 41.64 kB / 425.8 MB, free: 94.81 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.4872, allocations: 53.34 kB / 425.8 MB, free: 94.81 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.4875, allocations: 151.9 kB / 426 MB, free: 94.81 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/0.4875, allocations: 46.83 kB / 426 MB, free: 94.81 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0008997/0.4884, allocations: 0.8367 MB / 426.8 MB, free: 94.72 MB / 394.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4884, allocations: 0 / 426.8 MB, free: 94.72 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003104/0.4915, allocations: 1.99 MB / 428.8 MB, free: 94.72 MB / 394.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.0002564/0.4918, allocations: 191.4 kB / 429 MB, free: 94.66 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.494, allocations: 2.209 MB / 431.2 MB, free: 94.43 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001265/0.4941, allocations: 80.92 kB / 431.3 MB, free: 94.4 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007757/0.4949, allocations: 0.8612 MB / 432.2 MB, free: 94.23 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.4964, allocations: 0.9015 MB / 433.1 MB, free: 94.21 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03641/0.5328, allocations: 12.36 MB / 445.4 MB, free: 89.61 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.534, allocations: 1.653 MB / 447.1 MB, free: 89.36 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.00119/0.5352, allocations: 489.6 kB / 447.6 MB, free: 89.28 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009788/0.5362, allocations: 0.6439 MB / 448.2 MB, free: 89.22 MB / 394.8 MB Notification: Performance of SimCode: time 1.322e-06/0.5362, allocations: 0 / 448.2 MB, free: 89.22 MB / 394.8 MB Notification: Performance of Templates: time 0.04868/0.5849, allocations: 44.21 MB / 492.4 MB, free: 61.71 MB / 394.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 -ignoreHideResult -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.665408229455352]