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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007415/0.0007415, allocations: 94.72 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00086/0.00086, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002135/0.0002136, allocations: 8 kB / 308.4 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1098, allocations: 51.52 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2191/0.3289, allocations: 15.33 MB / 375.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00919/0.3381, allocations: 4.08 MB / 379.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003603/0.3418, allocations: 131.3 kB / 379.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003654/0.3454, allocations: 1.009 MB / 380.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006527/0.352, allocations: 1.143 MB / 381.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.3557, allocations: 1.151 MB / 382.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01097/0.3667, allocations: 7.866 MB / 390.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03863/0.4054, allocations: 22.12 MB / 412.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006729/0.4122, allocations: 3.294 MB / 416 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006896/0.4191, allocations: 3.861 MB / 419.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001946/0.4211, allocations: 0.543 MB / 420.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.4253, allocations: 0.8247 MB / 421.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002367/0.4277, allocations: 1.51 MB / 422.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007268/0.435, allocations: 4.055 MB / 426.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.4509, allocations: 15.53 MB / 442.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.451, allocations: 0 / 442.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.451, allocations: 7.938 kB / 442.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005291/0.4515, allocations: 0 / 442.4 MB, free: 8.504 MB / 350.1 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.02439/0.4759, allocations: 8.51 MB / 450.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.476, allocations: 12.03 kB / 450.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02033/0.4963, allocations: 3.766 MB / 454.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.5067, allocations: 5.173 MB / 459.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007808/0.5075, allocations: 0.6812 MB / 460.5 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003426/0.511, allocations: 0.8865 MB / 461.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03366/0.5446, allocations: 12.75 MB / 474.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003845/0.5451, allocations: 7.906 kB / 474.1 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003359/0.5484, allocations: 379.4 kB / 474.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004496/0.5489, allocations: 391.1 kB / 474.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02536/0.5743, allocations: 11.44 MB / 486.3 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07726/0.6516, allocations: 44.31 MB / 0.5182 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.6633, allocations: 10.52 MB / 0.5285 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/0.6659, allocations: 1.722 MB / 0.5302 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.6663, allocations: 227.8 kB / 0.5304 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.6663, allocations: 52.56 kB / 0.5304 GB, free: 1.266 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 3.868e-06/0.6663, allocations: 0 / 0.5304 GB, free: 1.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.3965/1.063, allocations: 4.793 MB / 0.5351 GB, free: 129 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/1.063, allocations: 76.39 kB / 0.5352 GB, free: 128.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004371/1.067, allocations: 2.924 MB / 0.538 GB, free: 128.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002973/1.068, allocations: 62.09 kB / 0.5381 GB, free: 128.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002335/1.07, allocations: 3.828 MB / 0.5418 GB, free: 125.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008712/1.071, allocations: 0.8074 MB / 0.5426 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005696/1.071, allocations: 378.6 kB / 0.543 GB, free: 124.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.116e-05/1.071, allocations: 301.9 kB / 0.5433 GB, free: 124.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/1.075, allocations: 2.011 MB / 0.5452 GB, free: 123.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004329/1.079, allocations: 4.2 MB / 0.5493 GB, free: 120.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007022/1.086, allocations: 6.587 MB / 0.5558 GB, free: 115.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/1.087, allocations: 20.59 kB / 0.5558 GB, free: 115.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01053/1.097, allocations: 6.583 MB / 0.5622 GB, free: 112.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/1.097, allocations: 38.91 kB / 0.5623 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/1.097, allocations: 72.59 kB / 0.5623 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008972/1.098, allocations: 410.9 kB / 0.5627 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/1.101, allocations: 1.07 MB / 0.5638 GB, free: 112.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/1.105, allocations: 4.072 MB / 0.5677 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/1.109, allocations: 0.62 MB / 0.5683 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005947/1.11, allocations: 251.9 kB / 0.5686 GB, free: 109.4 MB / 446.1 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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004902/1.114, allocations: 3.383 MB / 0.5719 GB, free: 107.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005892/1.115, allocations: 271.7 kB / 0.5721 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/1.12, allocations: 3.665 MB / 0.5757 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003282/1.123, allocations: 2.89 MB / 0.5785 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.123, allocations: 3.688 kB / 0.5785 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/1.123, allocations: 11.44 kB / 0.5786 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/1.136, allocations: 10.07 MB / 0.5884 GB, free: 96.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.136, allocations: 0 / 0.5884 GB, free: 96.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/1.138, allocations: 411.4 kB / 0.5888 GB, free: 96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000619/1.138, allocations: 313.2 kB / 0.5891 GB, free: 95.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.139, allocations: 51.98 kB / 0.5891 GB, free: 95.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003663/1.142, allocations: 3.896 MB / 0.5929 GB, free: 91.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.142, allocations: 3.938 kB / 0.5929 GB, free: 91.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/1.148, allocations: 5.257 MB / 0.5981 GB, free: 86.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.15, allocations: 0.6258 MB / 0.5987 GB, free: 85.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/1.15, allocations: 44 kB / 0.5987 GB, free: 85.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.151, allocations: 127.8 kB / 0.5988 GB, free: 85.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/1.151, allocations: 153.7 kB / 0.599 GB, free: 85.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.152, allocations: 63.98 kB / 0.5991 GB, free: 85.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002448/1.154, allocations: 1.967 MB / 0.601 GB, free: 83.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.154, allocations: 0 / 0.601 GB, free: 83.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005031/1.159, allocations: 1.953 MB / 0.6029 GB, free: 81.36 MB / 446.1 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 (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005936/1.16, allocations: 210 kB / 0.6031 GB, free: 81.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00664/1.166, allocations: 4.698 MB / 0.6077 GB, free: 76.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.166, allocations: 0 / 0.6077 GB, free: 76.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/1.169, allocations: 1.786 MB / 0.6094 GB, free: 74.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.172, allocations: 0.634 MB / 0.61 GB, free: 74.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/1.193, allocations: 16.8 MB / 0.6264 GB, free: 57.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00443/1.198, allocations: 5.47 MB / 0.6318 GB, free: 51.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000922/1.199, allocations: 271.4 kB / 0.632 GB, free: 51.41 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/1.199, allocations: 0 / 0.632 GB, free: 51.41 MB / 446.1 MB Notification: Performance of Templates: time 0.3618/1.56, allocations: 130.6 MB / 0.7596 GB, free: 120.3 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches