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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001707, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 104.8 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008218/0.0008219, allocations: 35.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2305, allocations: 49.44 MB / 399.5 MB, free: 33.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01171/0.2423, allocations: 16.21 MB / 415.7 MB, free: 16.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007433/0.2497, allocations: 4.031 MB / 419.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.2527, allocations: 131.6 kB / 419.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.2654, allocations: 7.066 MB / 426.9 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006469/0.2719, allocations: 1.321 MB / 428.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.2751, allocations: 1.006 MB / 429.2 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00899/0.2841, allocations: 8.012 MB / 437.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02982/0.314, allocations: 18.91 MB / 456.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00785/0.3219, allocations: 4.3 MB / 460.5 MB, free: 3.953 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008867/0.3308, allocations: 5.162 MB / 465.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003097/0.334, allocations: 1.027 MB / 466.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004061/0.338, allocations: 1.277 MB / 467.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0028/0.3409, allocations: 2.205 MB / 470.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007108/0.348, allocations: 4.835 MB / 475 MB, free: 5.402 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.3651, allocations: 17.94 MB / 492.9 MB, free: 3.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3652, allocations: 4 kB / 492.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.3652, allocations: 3.938 kB / 492.9 MB, free: 3.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004839/0.3657, allocations: 3.938 kB / 492.9 MB, free: 3.395 MB / 362.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.03248/0.3982, allocations: 10.45 MB / 0.4916 GB, free: 8.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3983, allocations: 12.03 kB / 0.4916 GB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01943/0.4177, allocations: 3.732 MB / 0.4952 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3796/0.7973, allocations: 5.175 MB / 0.5003 GB, free: 83 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009178/0.7983, allocations: 0.6792 MB / 0.5009 GB, free: 82.98 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003223/0.8016, allocations: 0.8861 MB / 0.5018 GB, free: 82.98 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02765/0.8292, allocations: 12.74 MB / 0.5142 GB, free: 77.93 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002246/0.8295, allocations: 8.859 kB / 0.5143 GB, free: 77.93 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/0.8307, allocations: 378.8 kB / 0.5146 GB, free: 77.64 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002467/0.831, allocations: 401.1 kB / 0.515 GB, free: 77.59 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.8489, allocations: 11.43 MB / 0.5262 GB, free: 68.14 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05574/0.9047, allocations: 43.68 MB / 0.5688 GB, free: 23.65 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008681/0.9134, allocations: 10.55 MB / 0.5791 GB, free: 11.86 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002226/0.9157, allocations: 1.728 MB / 0.5808 GB, free: 10.14 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.916, allocations: 141.2 kB / 0.5809 GB, free: 9.992 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.916, allocations: 52.56 kB / 0.581 GB, free: 9.934 MB / 378.8 MB Notification: Performance of pre-optimization done (n=229): time 4.689e-06/0.916, allocations: 0 / 0.581 GB, free: 9.934 MB / 378.8 MB Notification: Performance of matching and sorting (n=229): time 0.007932/0.924, allocations: 4.774 MB / 0.5857 GB, free: 5.133 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.924, allocations: 77.41 kB / 0.5857 GB, free: 5.043 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004547/0.9286, allocations: 2.926 MB / 0.5886 GB, free: 2.098 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.9287, allocations: 61.7 kB / 0.5887 GB, free: 2.031 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002198/0.9309, allocations: 3.823 MB / 0.5924 GB, free: 14.18 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007856/0.9317, allocations: 0.8071 MB / 0.5932 GB, free: 13.38 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/0.9334, allocations: 0.9561 MB / 0.5941 GB, free: 12.41 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9335, allocations: 305.1 kB / 0.5944 GB, free: 12.11 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.9365, allocations: 2.019 MB / 0.5964 GB, free: 10.09 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004137/0.9407, allocations: 4.191 MB / 0.6005 GB, free: 4.828 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006919/0.9476, allocations: 6.584 MB / 0.6069 GB, free: 13.16 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-05/0.9477, allocations: 24 kB / 0.6069 GB, free: 13.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.009652/0.9573, allocations: 6.582 MB / 0.6133 GB, free: 6.504 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/0.9575, allocations: 36 kB / 0.6134 GB, free: 6.469 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.9576, allocations: 80.19 kB / 0.6135 GB, free: 6.391 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.9586, allocations: 416.6 kB / 0.6139 GB, free: 5.98 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/0.962, allocations: 1.061 MB / 0.6149 GB, free: 4.918 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.9671, allocations: 4.057 MB / 0.6188 GB, free: 0.7305 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/0.9704, allocations: 0.623 MB / 0.6195 GB, free: 104 kB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005939/0.9711, allocations: 244 kB / 0.6197 GB, free: 15.86 MB / 426.8 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.005289/0.9764, allocations: 3.38 MB / 0.623 GB, free: 12.47 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006248/0.977, allocations: 276.6 kB / 0.6233 GB, free: 12.2 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006402/0.9834, allocations: 3.667 MB / 0.6268 GB, free: 8.5 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004226/0.9877, allocations: 2.889 MB / 0.6297 GB, free: 5.602 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.9877, allocations: 4 kB / 0.6297 GB, free: 5.598 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.9877, allocations: 15.89 kB / 0.6297 GB, free: 5.582 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/1.007, allocations: 10.06 MB / 0.6395 GB, free: 11.45 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.007, allocations: 0 / 0.6395 GB, free: 11.45 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/1.009, allocations: 411.6 kB / 0.6399 GB, free: 11.05 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000836/1.01, allocations: 328.7 kB / 0.6402 GB, free: 10.73 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/1.01, allocations: 47.98 kB / 0.6402 GB, free: 10.68 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004694/1.015, allocations: 3.879 MB / 0.644 GB, free: 6.676 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.015, allocations: 3.938 kB / 0.644 GB, free: 6.672 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.029, allocations: 9.557 MB / 0.6534 GB, free: 12.94 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.03, allocations: 0.6063 MB / 0.654 GB, free: 12.31 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/1.03, allocations: 43.98 kB / 0.654 GB, free: 12.27 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.031, allocations: 140 kB / 0.6541 GB, free: 12.13 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/1.032, allocations: 145.7 kB / 0.6543 GB, free: 11.99 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.032, allocations: 63.98 kB / 0.6543 GB, free: 11.93 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002612/1.034, allocations: 1.963 MB / 0.6563 GB, free: 9.953 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.034, allocations: 0 / 0.6563 GB, free: 9.953 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005111/1.04, allocations: 2.111 MB / 0.6583 GB, free: 7.836 MB / 458.8 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.000479/1.04, allocations: 208.4 kB / 0.6585 GB, free: 7.625 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006733/1.047, allocations: 4.709 MB / 0.6631 GB, free: 2.91 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.726e-06/1.047, allocations: 0 / 0.6631 GB, free: 2.91 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/1.049, allocations: 1.778 MB / 0.6649 GB, free: 1.113 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/1.052, allocations: 0.6465 MB / 0.6655 GB, free: 492 kB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2197/1.272, allocations: 18.29 MB / 0.6833 GB, free: 141.9 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005752/1.278, allocations: 5.707 MB / 0.6889 GB, free: 139.7 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003854/1.282, allocations: 1.698 MB / 0.6906 GB, free: 139.6 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/1.282, allocations: 230.9 kB / 0.6908 GB, free: 139.5 MB / 458.8 MB Notification: Performance of SimCode: time 1.052e-06/1.282, allocations: 2.156 kB / 0.6908 GB, free: 139.5 MB / 458.8 MB Notification: Performance of Templates: time 0.08123/1.363, allocations: 42.17 MB / 0.732 GB, free: 101.4 MB / 458.8 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@2/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