Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009336/0.0009336, allocations: 164.5 kB / 24.99 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.936e-05, allocations: 6.312 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01585/0.01588, allocations: 15.83 MB / 288.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.119/0.1349, allocations: 4.101 MB / 293 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.1365, allocations: 161.2 kB / 293.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007331/0.1439, allocations: 7.953 MB / 301.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.1464, allocations: 1.365 MB / 302.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.148, allocations: 1.242 MB / 303.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004934/0.1529, allocations: 8.581 MB / 312.3 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/0.1662, allocations: 14.27 MB / 326.6 MB, free: 12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006517/0.1728, allocations: 7.384 MB / 334 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004412/0.1772, allocations: 5.219 MB / 339.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.1782, allocations: 1.383 MB / 340.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.1799, allocations: 1.661 MB / 342.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.1815, allocations: 2.677 MB / 344.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002455/0.1839, allocations: 3.53 MB / 348.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00656/0.1905, allocations: 8.882 MB / 357.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1905, allocations: 0 / 357.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1905, allocations: 0 / 357.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.523e-05/0.1905, allocations: 0 / 357.3 MB, free: 14.07 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.01373/0.2043, allocations: 11.43 MB / 368.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2043, allocations: 12.03 kB / 368.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.2159, allocations: 4.842 MB / 373.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00481/0.2207, allocations: 5.06 MB / 378.6 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/0.221, allocations: 0.6833 MB / 379.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001072/0.2221, allocations: 0.8906 MB / 380.2 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008187/0.2302, allocations: 5.579 MB / 385.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.2304, allocations: 7.953 kB / 385.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005656/0.2309, allocations: 376 kB / 386.2 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/0.2312, allocations: 395.1 kB / 386.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00674/0.2379, allocations: 3.458 MB / 390 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03258/0.2705, allocations: 35.73 MB / 425.8 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/0.2746, allocations: 3.379 MB / 429.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008667/0.2755, allocations: 0.6705 MB / 429.8 MB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.2757, allocations: 81.94 kB / 429.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.2758, allocations: 67.33 kB / 429.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 4.037e-06/0.2758, allocations: 0 / 429.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.004014/0.2798, allocations: 2.449 MB / 432.4 MB, free: 1.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.2799, allocations: 73.41 kB / 432.5 MB, free: 1.773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1152/0.3951, allocations: 3.026 MB / 435.5 MB, free: 112.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003386/0.3954, allocations: 62.98 kB / 435.6 MB, free: 112.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002143/0.3976, allocations: 4.219 MB / 439.8 MB, free: 110.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006192/0.3982, allocations: 0.8532 MB / 440.6 MB, free: 110 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.3996, allocations: 1.114 MB / 441.7 MB, free: 109.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.3996, allocations: 482.2 kB / 442.2 MB, free: 109.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.4011, allocations: 0.6155 MB / 442.8 MB, free: 109.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/0.4036, allocations: 3.938 MB / 446.8 MB, free: 105.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.4076, allocations: 4.992 MB / 451.8 MB, free: 100.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.305e-05/0.4076, allocations: 22 kB / 451.8 MB, free: 100.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.006108/0.4137, allocations: 3.973 MB / 455.7 MB, free: 100.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.4137, allocations: 34.5 kB / 455.8 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.421e-05/0.4138, allocations: 74.53 kB / 455.9 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008442/0.4147, allocations: 381.1 kB / 456.2 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.4162, allocations: 1.071 MB / 457.3 MB, free: 100 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.4184, allocations: 3.487 MB / 460.8 MB, free: 97.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.4198, allocations: 0.6286 MB / 461.4 MB, free: 97.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.42, allocations: 250.8 kB / 461.7 MB, free: 97.64 MB / 378.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.001227/0.4213, allocations: 488 kB / 462.1 MB, free: 97.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/0.4216, allocations: 359.4 kB / 462.5 MB, free: 97.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.4239, allocations: 2.033 MB / 464.5 MB, free: 96.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001515/0.4254, allocations: 1.309 MB / 465.8 MB, free: 96.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4254, allocations: 3.875 kB / 465.8 MB, free: 96.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.4254, allocations: 17.16 kB / 465.8 MB, free: 96.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007735/0.4331, allocations: 7.841 MB / 473.7 MB, free: 93.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4331, allocations: 4.156 kB / 473.7 MB, free: 93.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.4339, allocations: 415.1 kB / 474.1 MB, free: 93.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/0.4344, allocations: 292.1 kB / 474.4 MB, free: 93.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/0.4345, allocations: 51.75 kB / 474.4 MB, free: 92.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.4364, allocations: 3.313 MB / 477.7 MB, free: 89.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4364, allocations: 3.938 kB / 477.8 MB, free: 89.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.4389, allocations: 2.448 MB / 480.2 MB, free: 87.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.4393, allocations: 0.5056 MB / 480.7 MB, free: 87.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.4395, allocations: 40.88 kB / 480.7 MB, free: 86.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.4401, allocations: 140.4 kB / 480.9 MB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.4402, allocations: 154.1 kB / 481 MB, free: 86.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.095e-05/0.4403, allocations: 71.88 kB / 481.1 MB, free: 86.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.4413, allocations: 1.248 MB / 482.4 MB, free: 85.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4413, allocations: 0 / 482.4 MB, free: 85.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003167/0.4445, allocations: 1.992 MB / 484.3 MB, free: 83.68 MB / 378.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.0002777/0.4448, allocations: 206 kB / 484.5 MB, free: 83.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002909/0.4477, allocations: 2.844 MB / 487.4 MB, free: 80.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4477, allocations: 0 / 487.4 MB, free: 80.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009633/0.4487, allocations: 1.106 MB / 488.5 MB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.4502, allocations: 0.6893 MB / 489.2 MB, free: 79.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009582/0.4598, allocations: 11.4 MB / 0.4889 GB, free: 68.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.461, allocations: 2.289 MB / 0.4911 GB, free: 66.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001737/0.4627, allocations: 1.459 MB / 0.4925 GB, free: 65.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.4631, allocations: 240.5 kB / 0.4927 GB, free: 65.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/0.4631, allocations: 0 / 0.4927 GB, free: 65.03 MB / 378.7 MB Notification: Performance of Templates: time 0.04138/0.5045, allocations: 38.56 MB / 0.5304 GB, free: 26.93 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.912979020969942]