Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.000886, allocations: 96.33 kB / 16.3 MB, free: 5.992 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.000863/0.0008633, allocations: 183.3 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 223.2 MB / 241.1 MB, free: 5.344 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002467/0.0002467, allocations: 10.03 kB / 300.7 MB, free: 6.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08776/0.08802, allocations: 50.42 MB / 351.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0126/0.1006, allocations: 13.28 MB / 364.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006881/0.1076, allocations: 3.824 MB / 368.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.1096, allocations: 123.6 kB / 368.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.1112, allocations: 0.7497 MB / 369.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.1143, allocations: 1.233 MB / 370.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.1161, allocations: 0.8087 MB / 371.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005876/0.122, allocations: 5.404 MB / 376.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02766/0.1496, allocations: 18.11 MB / 394.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.1533, allocations: 3.021 MB / 397.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/0.1576, allocations: 3.396 MB / 401.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.1588, allocations: 0.543 MB / 401.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.1612, allocations: 0.7459 MB / 402.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.1624, allocations: 1.46 MB / 403.8 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002095/0.1646, allocations: 1.755 MB / 405.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.1788, allocations: 15.48 MB / 421.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1788, allocations: 4 kB / 421.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1788, allocations: 4 kB / 421.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003464/0.1792, allocations: 0 / 421.1 MB, free: 5.465 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.3066/0.4857, allocations: 8.586 MB / 429.7 MB, free: 51.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.4858, allocations: 9.5 kB / 429.7 MB, free: 51.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01908/0.5049, allocations: 3.622 MB / 433.3 MB, free: 50.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.5153, allocations: 5.127 MB / 438.4 MB, free: 49.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006641/0.516, allocations: 0.678 MB / 439.1 MB, free: 49.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002454/0.5184, allocations: 0.8907 MB / 440 MB, free: 49.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.5385, allocations: 12.59 MB / 452.6 MB, free: 41.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/0.5387, allocations: 4 kB / 452.6 MB, free: 41.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007445/0.5395, allocations: 381.4 kB / 453 MB, free: 41.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002305/0.5397, allocations: 410.9 kB / 453.4 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.5563, allocations: 11.36 MB / 464.7 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05208/0.6084, allocations: 43.8 MB / 0.4966 GB, free: 492 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.6191, allocations: 10.53 MB / 0.5069 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.6195, allocations: 138.5 kB / 0.507 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.6195, allocations: 64.48 kB / 0.5071 GB, free: 4.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=229): time 4.217e-06/0.6195, allocations: 0 / 0.5071 GB, free: 4.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=229): time 0.008759/0.6283, allocations: 5.107 MB / 0.5121 GB, free: 15.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.6284, allocations: 73.41 kB / 0.5121 GB, free: 15.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/0.6322, allocations: 2.906 MB / 0.515 GB, free: 12.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.6324, allocations: 61.7 kB / 0.515 GB, free: 12.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.6346, allocations: 3.817 MB / 0.5188 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006498/0.6353, allocations: 0.8163 MB / 0.5196 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.6355, allocations: 92 kB / 0.5196 GB, free: 7.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002961/0.6358, allocations: 0.4923 MB / 0.5201 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002794/0.6386, allocations: 2.004 MB / 0.5221 GB, free: 4.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004072/0.6427, allocations: 4.168 MB / 0.5261 GB, free: 15.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/0.6466, allocations: 3.043 MB / 0.5291 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.543e-05/0.6466, allocations: 20 kB / 0.5291 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.009257/0.6559, allocations: 6.563 MB / 0.5355 GB, free: 6.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.6559, allocations: 36 kB / 0.5356 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.906e-05/0.656, allocations: 76 kB / 0.5357 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008544/0.6569, allocations: 420.7 kB / 0.5361 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003132/0.66, allocations: 1.061 MB / 0.5371 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004909/0.6649, allocations: 4.169 MB / 0.5412 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.6677, allocations: 0.6269 MB / 0.5418 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/0.668, allocations: 244 kB / 0.542 GB, free: 15.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004743/0.6728, allocations: 3.369 MB / 0.5453 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.6733, allocations: 280.6 kB / 0.5456 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005516/0.6788, allocations: 3.678 MB / 0.5492 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004006/0.6828, allocations: 2.893 MB / 0.552 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.6828, allocations: 4 kB / 0.552 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.6829, allocations: 7.969 kB / 0.552 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.6981, allocations: 10.04 MB / 0.5618 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.6981, allocations: 0 / 0.5618 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.6997, allocations: 411.4 kB / 0.5622 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006689/0.7004, allocations: 308.6 kB / 0.5625 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.7005, allocations: 51.98 kB / 0.5625 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004455/0.705, allocations: 3.976 MB / 0.5664 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.705, allocations: 3.953 kB / 0.5664 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006724/0.7117, allocations: 5.26 MB / 0.5716 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.713, allocations: 0.6219 MB / 0.5722 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.7133, allocations: 40 kB / 0.5722 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.7144, allocations: 131.9 kB / 0.5723 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/0.7146, allocations: 137.8 kB / 0.5725 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.7147, allocations: 67.92 kB / 0.5725 GB, free: 15.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002596/0.7174, allocations: 1.947 MB / 0.5744 GB, free: 13.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7174, allocations: 0 / 0.5744 GB, free: 13.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004452/0.7218, allocations: 1.959 MB / 0.5763 GB, free: 11.83 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (216): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003903/0.7222, allocations: 208.8 kB / 0.5765 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006413/0.7286, allocations: 4.698 MB / 0.5811 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7287, allocations: 4 kB / 0.5811 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002229/0.7309, allocations: 1.782 MB / 0.5829 GB, free: 5.117 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.7336, allocations: 0.6081 MB / 0.5835 GB, free: 4.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1769/0.9106, allocations: 16.22 MB / 0.5993 GB, free: 145.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005714/0.9163, allocations: 5.777 MB / 0.6049 GB, free: 144.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004013/0.9203, allocations: 1.695 MB / 0.6066 GB, free: 144.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005893/0.921, allocations: 231.3 kB / 0.6068 GB, free: 144.8 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.921, allocations: 0 / 0.6068 GB, free: 144.8 MB / 462.1 MB Notification: Performance of Templates: time 0.05965/0.9806, allocations: 39.72 MB / 0.6456 GB, free: 114 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches