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.00106/0.00106, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2961, allocations: 50.55 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01681/0.313, allocations: 16.5 MB / 425.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008542/0.3216, allocations: 4.142 MB / 429.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.3244, allocations: 135.6 kB / 430 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01609/0.3406, allocations: 7.439 MB / 437.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.3463, allocations: 1.316 MB / 438.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.3499, allocations: 1.25 MB / 440 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009407/0.3593, allocations: 8.246 MB / 448.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03427/0.3936, allocations: 22.51 MB / 470.8 MB, free: 3.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006951/0.4006, allocations: 4.816 MB / 475.6 MB, free: 14.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008972/0.4096, allocations: 5.33 MB / 480.9 MB, free: 9.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00389/0.4135, allocations: 1.383 MB / 482.3 MB, free: 8.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005257/0.4188, allocations: 1.664 MB / 484 MB, free: 6.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004052/0.4229, allocations: 2.58 MB / 486.6 MB, free: 3.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009215/0.4321, allocations: 5.218 MB / 491.8 MB, free: 14.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02031/0.4525, allocations: 18.31 MB / 0.4981 GB, free: 12.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4525, allocations: 0 / 0.4981 GB, free: 12.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4525, allocations: 0 / 0.4981 GB, free: 12.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005424/0.4531, allocations: 0 / 0.4981 GB, free: 12.3 MB / 430.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.03055/0.4837, allocations: 10.44 MB / 0.5083 GB, free: 1.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4837, allocations: 8.031 kB / 0.5084 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01996/0.5037, allocations: 3.756 MB / 0.512 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.5138, allocations: 5.359 MB / 0.5173 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005396/0.5143, allocations: 0.6785 MB / 0.5179 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003376/0.5177, allocations: 0.8905 MB / 0.5188 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02804/0.5458, allocations: 12.72 MB / 0.5312 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002124/0.546, allocations: 7.984 kB / 0.5312 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001325/0.5474, allocations: 380 kB / 0.5316 GB, free: 9.871 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003204/0.5477, allocations: 399.1 kB / 0.532 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4153/0.963, allocations: 11.4 MB / 0.5431 GB, free: 112.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05239/1.015, allocations: 43.58 MB / 0.5857 GB, free: 80.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00767/1.023, allocations: 10.48 MB / 0.5959 GB, free: 68.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/1.025, allocations: 1.687 MB / 0.5975 GB, free: 67.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/1.025, allocations: 215.9 kB / 0.5977 GB, free: 66.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/1.025, allocations: 56.56 kB / 0.5978 GB, free: 66.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.609e-06/1.025, allocations: 3.156 kB / 0.5978 GB, free: 66.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.007121/1.032, allocations: 4.657 MB / 0.6023 GB, free: 62.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/1.032, allocations: 77.41 kB / 0.6024 GB, free: 62.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/1.036, allocations: 2.93 MB / 0.6053 GB, free: 59.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.036, allocations: 57.7 kB / 0.6053 GB, free: 59.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/1.037, allocations: 3.825 MB / 0.6091 GB, free: 55.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/1.038, allocations: 0.7917 MB / 0.6098 GB, free: 54.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009795/1.039, allocations: 0.952 MB / 0.6108 GB, free: 53.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/1.039, allocations: 305.1 kB / 0.6111 GB, free: 53.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/1.041, allocations: 1.969 MB / 0.613 GB, free: 51.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/1.043, allocations: 4.164 MB / 0.6171 GB, free: 46.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005174/1.049, allocations: 6.505 MB / 0.6234 GB, free: 38.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-05/1.049, allocations: 20 kB / 0.6234 GB, free: 38.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007616/1.056, allocations: 6.503 MB / 0.6298 GB, free: 31.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/1.056, allocations: 36 kB / 0.6298 GB, free: 31.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.602e-05/1.056, allocations: 79.94 kB / 0.6299 GB, free: 31.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007248/1.057, allocations: 416.7 kB / 0.6303 GB, free: 31.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/1.06, allocations: 1.061 MB / 0.6313 GB, free: 30.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/1.064, allocations: 4.377 MB / 0.6356 GB, free: 25.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/1.066, allocations: 0.623 MB / 0.6362 GB, free: 25.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/1.067, allocations: 244 kB / 0.6364 GB, free: 24.98 MB / 462.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 (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.00364/1.07, allocations: 3.376 MB / 0.6397 GB, free: 21.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/1.071, allocations: 272.6 kB / 0.64 GB, free: 21.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/1.075, allocations: 3.581 MB / 0.6435 GB, free: 17.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003083/1.078, allocations: 2.815 MB / 0.6462 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.078, allocations: 4 kB / 0.6462 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.078, allocations: 11.95 kB / 0.6463 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/1.09, allocations: 9.857 MB / 0.6559 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/1.09, allocations: 0 / 0.6559 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/1.092, allocations: 415.4 kB / 0.6563 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/1.092, allocations: 316.9 kB / 0.6566 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/1.092, allocations: 47.98 kB / 0.6566 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/1.096, allocations: 4.196 MB / 0.6607 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.096, allocations: 4 kB / 0.6607 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007401/1.104, allocations: 5.113 MB / 0.6657 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.105, allocations: 0.6063 MB / 0.6663 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/1.105, allocations: 52 kB / 0.6664 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.106, allocations: 131.8 kB / 0.6665 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/1.107, allocations: 145.8 kB / 0.6666 GB, free: 9.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.107, allocations: 63.98 kB / 0.6667 GB, free: 9.688 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002906/1.11, allocations: 1.959 MB / 0.6686 GB, free: 7.719 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.11, allocations: 0 / 0.6686 GB, free: 7.719 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004871/1.115, allocations: 1.965 MB / 0.6705 GB, free: 5.746 MB / 478.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 (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.0004361/1.115, allocations: 197.5 kB / 0.6707 GB, free: 5.547 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006933/1.122, allocations: 4.628 MB / 0.6752 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.122, allocations: 0 / 0.6752 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/1.124, allocations: 1.736 MB / 0.6769 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/1.128, allocations: 0.6776 MB / 0.6776 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/1.149, allocations: 13.22 MB / 0.6905 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006129/1.155, allocations: 5.637 MB / 0.696 GB, free: 11.57 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.003884/1.159, allocations: 1.694 MB / 0.6977 GB, free: 9.867 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/1.16, allocations: 231.4 kB / 0.6979 GB, free: 9.641 MB / 0.4982 GB Notification: Performance of SimCode: time 5.61e-07/1.16, allocations: 0 / 0.6979 GB, free: 9.641 MB / 0.4982 GB Notification: Performance of Templates: time 0.07185/1.232, allocations: 39.93 MB / 0.7369 GB, free: 1.895 MB / 0.5294 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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