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.001132/0.001132, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.002749, 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.0007488/0.0007488, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009322/0.001681, 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 0.9553/0.9553, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08418/1.039, allocations: 53.87 MB / 243.9 MB, free: 14.82 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.493e-06/1.493e-06, allocations: 0 / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.296e-05, allocations: 2.312 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01059/0.0106, allocations: 15.48 MB / 260.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006933/0.01754, allocations: 4.404 MB / 265.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.0187, allocations: 163.2 kB / 265.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006449/0.02515, allocations: 7.913 MB / 273.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.02766, allocations: 1.37 MB / 274.5 MB, free: 60 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1146/0.1422, allocations: 1.217 MB / 275.8 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007405/0.1496, allocations: 8.646 MB / 284.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01552/0.1652, allocations: 14.44 MB / 298.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007163/0.1723, allocations: 7.566 MB / 306.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006088/0.1784, allocations: 5.431 MB / 311.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002169/0.1806, allocations: 1.379 MB / 313.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.1826, allocations: 1.667 MB / 314.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.1839, allocations: 2.105 MB / 317 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00303/0.1869, allocations: 2.948 MB / 319.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006779/0.1937, allocations: 8.399 MB / 328.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.507e-05/0.1937, allocations: 0 / 328.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1937, allocations: 0.875 kB / 328.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003905/0.1941, allocations: 3.75 kB / 328.3 MB, free: 15.04 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.01467/0.2088, allocations: 12.11 MB / 340.5 MB, free: 3.441 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2088, allocations: 8.031 kB / 340.5 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00869/0.2175, allocations: 3.738 MB / 344.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.2212, allocations: 2.635 MB / 346.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/0.2215, allocations: 0.6824 MB / 347.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009092/0.2224, allocations: 0.8907 MB / 348.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007253/0.2297, allocations: 6.101 MB / 354.5 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.2298, allocations: 7.953 kB / 354.5 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00055/0.2304, allocations: 379 kB / 354.9 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/0.2306, allocations: 391.1 kB / 355.3 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.2342, allocations: 2.365 MB / 357.6 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02676/0.261, allocations: 27.1 MB / 384.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/0.2644, allocations: 2.454 MB / 387.2 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.2649, allocations: 0.4904 MB / 387.7 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.2651, allocations: 81.94 kB / 387.8 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2651, allocations: 56.56 kB / 387.8 MB, free: 5.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 3.877e-06/0.2651, allocations: 0 / 387.8 MB, free: 5.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.002873/0.268, allocations: 1.722 MB / 389.5 MB, free: 3.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.268, allocations: 82.92 kB / 389.6 MB, free: 3.324 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.2693, allocations: 1.967 MB / 391.6 MB, free: 1.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.179e-05/0.2694, allocations: 61.7 kB / 391.6 MB, free: 1.664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.2712, allocations: 3.768 MB / 395.4 MB, free: 13.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000442/0.2716, allocations: 0.8165 MB / 396.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007436/0.2724, allocations: 0.8756 MB / 397.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.2724, allocations: 305.1 kB / 397.4 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.2731, allocations: 0.6441 MB / 398 MB, free: 11.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.2746, allocations: 2.622 MB / 400.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002982/0.2776, allocations: 3.908 MB / 404.6 MB, free: 3.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-05/0.2776, allocations: 24 kB / 404.6 MB, free: 3.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.003101/0.2807, allocations: 2.983 MB / 407.6 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.2808, allocations: 36 kB / 407.6 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.413e-05/0.2808, allocations: 76 kB / 407.7 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007179/0.2815, allocations: 345.7 kB / 408 MB, free: 412 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.2834, allocations: 1.115 MB / 409.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.2854, allocations: 2.514 MB / 411.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.2869, allocations: 0.5351 MB / 412.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.2871, allocations: 212 kB / 412.4 MB, free: 12.11 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.001276/0.2884, allocations: 446.4 kB / 412.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.2887, allocations: 227.8 kB / 413.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.2906, allocations: 1.557 MB / 414.6 MB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001144/0.2918, allocations: 0.8248 MB / 415.4 MB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2918, allocations: 4 kB / 415.4 MB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.2918, allocations: 11.95 kB / 415.5 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/0.298, allocations: 5.563 MB / 421 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.298, allocations: 7.984 kB / 421 MB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008539/0.2988, allocations: 400.4 kB / 421.4 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/0.2993, allocations: 356.3 kB / 421.8 MB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/0.2998, allocations: 248.4 kB / 422 MB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/0.2999, allocations: 43.98 kB / 422.1 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.3018, allocations: 2.335 MB / 424.4 MB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3018, allocations: 3.516 kB / 424.4 MB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1207/0.4225, allocations: 1.739 MB / 426.1 MB, free: 97.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005187/0.423, allocations: 41.73 kB / 426.2 MB, free: 97.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.4238, allocations: 51.97 kB / 426.2 MB, free: 97.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/0.4241, allocations: 159.7 kB / 426.4 MB, free: 97.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.4243, allocations: 44.61 kB / 426.4 MB, free: 97.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001291/0.4255, allocations: 0.8405 MB / 427.3 MB, free: 97.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4255, allocations: 0 / 427.3 MB, free: 97.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004269/0.4298, allocations: 1.988 MB / 429.3 MB, free: 97.3 MB / 394.7 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.0003619/0.4302, allocations: 190.6 kB / 429.4 MB, free: 97.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00284/0.433, allocations: 2.277 MB / 431.7 MB, free: 96.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001442/0.4332, allocations: 82.92 kB / 431.8 MB, free: 96.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.4344, allocations: 1.263 MB / 433.1 MB, free: 96.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.437, allocations: 5.431 MB / 438.5 MB, free: 91.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03922/0.4762, allocations: 12.35 MB / 450.8 MB, free: 87.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.4775, allocations: 1.644 MB / 452.5 MB, free: 87.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001088/0.4786, allocations: 455.2 kB / 452.9 MB, free: 86.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/0.4794, allocations: 0.5858 MB / 453.5 MB, free: 86.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4794, allocations: 0 / 453.5 MB, free: 86.86 MB / 394.7 MB Notification: Performance of Templates: time 0.04929/0.5287, allocations: 41.78 MB / 495.3 MB, free: 60.41 MB / 394.7 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5594281563535333]