Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 105.4 kB / 18.35 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 188.1 kB / 19.29 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 47.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1164, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.02904/0.1455, allocations: 16.85 MB / 345.6 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.158, allocations: 4.236 MB / 349.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.1607, allocations: 115.7 kB / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01899/0.1797, allocations: 7.464 MB / 357.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004876/0.1846, allocations: 1.55 MB / 358.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.1872, allocations: 1.2 MB / 360.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007927/0.1952, allocations: 8.561 MB / 368.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1931/0.3883, allocations: 22.58 MB / 391.3 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007368/0.3957, allocations: 4.958 MB / 396.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008764/0.4045, allocations: 5.534 MB / 401.8 MB, free: 15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003432/0.408, allocations: 1.402 MB / 403.2 MB, free: 15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004345/0.4123, allocations: 1.664 MB / 404.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003414/0.4158, allocations: 2.709 MB / 407.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005917/0.4217, allocations: 5.38 MB / 412.9 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.4365, allocations: 18.54 MB / 431.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4365, allocations: 0 / 431.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4365, allocations: 0 / 431.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003976/0.4369, allocations: 8 kB / 431.5 MB, free: 9.102 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03028/0.4672, allocations: 10.79 MB / 442.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4673, allocations: 11.89 kB / 442.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03032/0.4976, allocations: 5.699 MB / 448 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.5104, allocations: 4.843 MB / 452.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008672/0.5113, allocations: 0.7054 MB / 453.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003854/0.5152, allocations: 0.9198 MB / 454.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03955/0.5547, allocations: 13.61 MB / 468.1 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002069/0.555, allocations: 7.906 kB / 468.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/0.5562, allocations: 390.1 kB / 468.4 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003798/0.5566, allocations: 456 kB / 468.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.5815, allocations: 12.82 MB / 481.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06949/0.651, allocations: 46.34 MB / 0.5157 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/0.6668, allocations: 17.08 MB / 0.5324 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/0.6697, allocations: 1.866 MB / 0.5342 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2882/0.9579, allocations: 5.957 MB / 0.54 GB, free: 147.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.958, allocations: 51.09 kB / 0.54 GB, free: 147.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=188): time 4.358e-06/0.958, allocations: 0.8438 kB / 0.54 GB, free: 147.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.008226/0.9662, allocations: 4.309 MB / 0.5442 GB, free: 146.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.9663, allocations: 76.31 kB / 0.5443 GB, free: 146.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004874/0.9712, allocations: 3.323 MB / 0.5476 GB, free: 145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002014/0.9714, allocations: 57.58 kB / 0.5476 GB, free: 145 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001693/0.9731, allocations: 4.188 MB / 0.5517 GB, free: 142 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.9736, allocations: 0.6925 MB / 0.5524 GB, free: 141.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.9749, allocations: 1.06 MB / 0.5534 GB, free: 141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.9749, allocations: 306.8 kB / 0.5537 GB, free: 140.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002661/0.9776, allocations: 2.044 MB / 0.5557 GB, free: 140 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003371/0.981, allocations: 4.687 MB / 0.5603 GB, free: 135.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00592/0.9869, allocations: 7.093 MB / 0.5672 GB, free: 130.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.486e-05/0.987, allocations: 26.91 kB / 0.5672 GB, free: 130.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.00922/0.9962, allocations: 7.015 MB / 0.5741 GB, free: 127.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.9963, allocations: 42.56 kB / 0.5741 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/0.9964, allocations: 98.25 kB / 0.5742 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007564/0.9972, allocations: 426.8 kB / 0.5746 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/1, allocations: 1.178 MB / 0.5758 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004203/1.005, allocations: 4.368 MB / 0.58 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003995/1.009, allocations: 0.7175 MB / 0.5807 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004994/1.009, allocations: 285.9 kB / 0.581 GB, free: 123.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.005391/1.015, allocations: 3.486 MB / 0.5844 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000602/1.015, allocations: 288.2 kB / 0.5847 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0042/1.019, allocations: 3.311 MB / 0.5879 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00293/1.022, allocations: 2.544 MB / 0.5904 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.022, allocations: 4 kB / 0.5904 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/1.022, allocations: 15.66 kB / 0.5904 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/1.035, allocations: 9.299 MB / 0.5995 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.035, allocations: 0 / 0.5995 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/1.037, allocations: 359.6 kB / 0.5999 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000589/1.037, allocations: 317.1 kB / 0.6002 GB, free: 107.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.037, allocations: 43.98 kB / 0.6002 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003495/1.041, allocations: 4.189 MB / 0.6043 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.041, allocations: 0 / 0.6043 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004818/1.046, allocations: 4.712 MB / 0.6089 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.047, allocations: 0.5868 MB / 0.6095 GB, free: 98.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/1.047, allocations: 35.94 kB / 0.6095 GB, free: 98.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.048, allocations: 131.8 kB / 0.6096 GB, free: 97.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/1.049, allocations: 121.8 kB / 0.6097 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.049, allocations: 59.98 kB / 0.6098 GB, free: 97.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002341/1.051, allocations: 2.194 MB / 0.6119 GB, free: 95.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.5e-07/1.051, allocations: 4.062 kB / 0.612 GB, free: 95.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004398/1.055, allocations: 2.028 MB / 0.6139 GB, free: 93.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.0003814/1.056, allocations: 197.7 kB / 0.6141 GB, free: 93.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005851/1.062, allocations: 4.726 MB / 0.6187 GB, free: 88.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.062, allocations: 4 kB / 0.6187 GB, free: 88.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/1.063, allocations: 1.596 MB / 0.6203 GB, free: 86.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/1.066, allocations: 0.6867 MB / 0.621 GB, free: 86.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/1.085, allocations: 13.69 MB / 0.6343 GB, free: 72.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004634/1.09, allocations: 5.796 MB / 0.64 GB, free: 66.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003735/1.094, allocations: 1.824 MB / 0.6418 GB, free: 64.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/1.094, allocations: 235.4 kB / 0.642 GB, free: 64.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.784e-06/1.094, allocations: 0 / 0.642 GB, free: 64.72 MB / 446.1 MB Notification: Performance of Templates: time 0.06005/1.154, allocations: 37.64 MB / 0.6788 GB, free: 27.18 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches