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.001357/0.001357, allocations: 112.2 kB / 17.28 MB, free: 6.219 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.001521/0.001521, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.335/1.335, allocations: 205.1 MB / 224 MB, free: 12.45 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.001153/0.001153, allocations: 47.92 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09148, allocations: 46.63 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01619/0.1077, allocations: 16.56 MB / 343.4 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008433/0.1162, allocations: 4.166 MB / 347.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.1184, allocations: 111.7 kB / 347.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01459/0.133, allocations: 7.087 MB / 354.7 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005893/0.139, allocations: 1.361 MB / 356.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.1424, allocations: 1.111 MB / 357.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.1526, allocations: 8.483 MB / 365.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2163/0.3689, allocations: 26.12 MB / 391.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008826/0.3778, allocations: 5.024 MB / 396.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.3883, allocations: 5.576 MB / 402.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004395/0.3928, allocations: 1.402 MB / 403.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006834/0.3996, allocations: 1.666 MB / 405.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005999/0.4057, allocations: 2.706 MB / 408.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009033/0.4147, allocations: 5.39 MB / 413.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.4338, allocations: 18.41 MB / 432 MB, free: 9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4338, allocations: 3.938 kB / 432 MB, free: 8.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4339, allocations: 0 / 432 MB, free: 8.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005247/0.4344, allocations: 4 kB / 432 MB, free: 8.992 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.03413/0.4685, allocations: 10.81 MB / 442.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.589e-05/0.4686, allocations: 15.45 kB / 442.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0309/0.4995, allocations: 5.702 MB / 448.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/0.5097, allocations: 4.837 MB / 453.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008014/0.5105, allocations: 0.7049 MB / 454.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003964/0.5145, allocations: 0.9245 MB / 455 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04034/0.5549, allocations: 13.62 MB / 468.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004257/0.5553, allocations: 4 kB / 468.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002845/0.5582, allocations: 390 kB / 469 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004947/0.5587, allocations: 455.9 kB / 469.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02746/0.5862, allocations: 12.84 MB / 482.3 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08418/0.6704, allocations: 46.93 MB / 0.5168 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/0.6861, allocations: 17.13 MB / 0.5335 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002904/0.689, allocations: 1.909 MB / 0.5354 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3311/1.02, allocations: 6.08 MB / 0.5413 GB, free: 148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/1.02, allocations: 54.47 kB / 0.5414 GB, free: 148 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 3.807e-06/1.02, allocations: 0 / 0.5414 GB, free: 148 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.007822/1.028, allocations: 4.416 MB / 0.5457 GB, free: 146.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/1.028, allocations: 71.45 kB / 0.5458 GB, free: 146.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004529/1.033, allocations: 3.321 MB / 0.549 GB, free: 145.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.033, allocations: 53.64 kB / 0.5491 GB, free: 145.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/1.035, allocations: 4.184 MB / 0.5531 GB, free: 142.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/1.035, allocations: 0.7111 MB / 0.5538 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001289/1.036, allocations: 1.066 MB / 0.5549 GB, free: 141.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/1.036, allocations: 309.1 kB / 0.5552 GB, free: 140.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/1.04, allocations: 2.082 MB / 0.5572 GB, free: 140.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/1.043, allocations: 4.721 MB / 0.5618 GB, free: 135.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005872/1.049, allocations: 7.182 MB / 0.5688 GB, free: 130.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.97e-05/1.049, allocations: 23.03 kB / 0.5689 GB, free: 130.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.008645/1.058, allocations: 7.092 MB / 0.5758 GB, free: 127.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/1.058, allocations: 47.06 kB / 0.5758 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.661e-05/1.058, allocations: 90 kB / 0.5759 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007299/1.058, allocations: 438.2 kB / 0.5763 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/1.061, allocations: 1.179 MB / 0.5775 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003889/1.065, allocations: 4.377 MB / 0.5818 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/1.069, allocations: 0.7187 MB / 0.5825 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/1.069, allocations: 286.4 kB / 0.5827 GB, free: 124 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 (626): * Single equations (assignments): 621 * 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.004366/1.074, allocations: 3.488 MB / 0.5861 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005761/1.074, allocations: 296.1 kB / 0.5864 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/1.078, allocations: 3.395 MB / 0.5897 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002747/1.081, allocations: 2.621 MB / 0.5923 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/1.081, allocations: 4 kB / 0.5923 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.081, allocations: 11.44 kB / 0.5923 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/1.095, allocations: 9.435 MB / 0.6015 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/1.095, allocations: 7.938 kB / 0.6015 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.096, allocations: 359.6 kB / 0.6019 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006395/1.097, allocations: 313.2 kB / 0.6022 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/1.097, allocations: 43.98 kB / 0.6022 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003587/1.1, allocations: 4.199 MB / 0.6063 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.101, allocations: 4 kB / 0.6063 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005379/1.106, allocations: 4.825 MB / 0.611 GB, free: 97.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.107, allocations: 0.5945 MB / 0.6116 GB, free: 96.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007307/1.108, allocations: 36 kB / 0.6116 GB, free: 96.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.109, allocations: 131.8 kB / 0.6118 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/1.11, allocations: 137.8 kB / 0.6119 GB, free: 96.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.11, allocations: 55.98 kB / 0.612 GB, free: 96.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004368/1.114, allocations: 2.198 MB / 0.6141 GB, free: 94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.114, allocations: 0 / 0.6141 GB, free: 94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007029/1.121, allocations: 2.028 MB / 0.6161 GB, free: 91.96 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 (183): * Single equations (assignments): 178 * 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.0004812/1.122, allocations: 207.8 kB / 0.6163 GB, free: 91.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009739/1.132, allocations: 6.513 MB / 0.6226 GB, free: 85.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.132, allocations: 0 / 0.6226 GB, free: 85.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/1.133, allocations: 1.64 MB / 0.6242 GB, free: 83.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/1.137, allocations: 0.6951 MB / 0.6249 GB, free: 82.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02346/1.16, allocations: 17.63 MB / 0.6421 GB, free: 65.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006698/1.167, allocations: 5.8 MB / 0.6478 GB, free: 59.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004509/1.171, allocations: 1.837 MB / 0.6496 GB, free: 57.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/1.172, allocations: 235.4 kB / 0.6498 GB, free: 57.41 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/1.172, allocations: 0 / 0.6498 GB, free: 57.41 MB / 446.1 MB Notification: Performance of Templates: time 0.06662/1.239, allocations: 42.32 MB / 0.6911 GB, free: 15.13 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches