Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 177.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007774/0.0007773, allocations: 86.31 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 15.98 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2081, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01137/0.2195, allocations: 14.48 MB / 389 MB, free: 34.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00724/0.2268, allocations: 3.87 MB / 392.9 MB, free: 30.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/0.2302, allocations: 107.7 kB / 393 MB, free: 30.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.2331, allocations: 0.7026 MB / 393.7 MB, free: 29.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005499/0.2386, allocations: 1.27 MB / 395 MB, free: 28.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.2417, allocations: 0.9009 MB / 395.9 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007723/0.2494, allocations: 7.946 MB / 403.8 MB, free: 19.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03111/0.2805, allocations: 18.38 MB / 422.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005589/0.2862, allocations: 3.399 MB / 425.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00607/0.2923, allocations: 3.86 MB / 429.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001719/0.294, allocations: 0.5508 MB / 430 MB, free: 9.184 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.2971, allocations: 0.7888 MB / 430.8 MB, free: 8.395 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002088/0.2992, allocations: 1.592 MB / 432.4 MB, free: 6.797 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002847/0.3021, allocations: 1.798 MB / 434.2 MB, free: 4.988 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01603/0.3181, allocations: 15.65 MB / 449.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3182, allocations: 4 kB / 449.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3182, allocations: 0 / 449.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006912/0.3189, allocations: 3.938 kB / 449.9 MB, free: 5.285 MB / 330.7 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.02465/0.3436, allocations: 8.846 MB / 458.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3436, allocations: 12.03 kB / 458.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02873/0.3724, allocations: 5.724 MB / 464.4 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009315/0.3817, allocations: 4.791 MB / 469.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000734/0.3825, allocations: 0.7025 MB / 469.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003364/0.3859, allocations: 0.9179 MB / 470.9 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03618/0.4221, allocations: 13.55 MB / 484.4 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004371/0.4226, allocations: 8 kB / 484.4 MB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003047/0.4256, allocations: 388 kB / 484.8 MB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007035/0.4264, allocations: 463.9 kB / 485.2 MB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02905/0.4554, allocations: 12.76 MB / 498 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3751/0.8306, allocations: 47.02 MB / 0.5323 GB, free: 65.29 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.8423, allocations: 17.09 MB / 0.5489 GB, free: 46.1 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.8449, allocations: 1.905 MB / 0.5508 GB, free: 44.18 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008874/0.8538, allocations: 6.092 MB / 0.5568 GB, free: 38.07 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.8539, allocations: 52.56 kB / 0.5568 GB, free: 38.01 MB / 378.8 MB Notification: Performance of pre-optimization done (n=194): time 4.658e-06/0.8539, allocations: 0 / 0.5568 GB, free: 38.01 MB / 378.8 MB Notification: Performance of matching and sorting (n=194): time 0.006882/0.8608, allocations: 4.378 MB / 0.5611 GB, free: 33.61 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.8608, allocations: 73.41 kB / 0.5611 GB, free: 33.52 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.8649, allocations: 3.305 MB / 0.5644 GB, free: 30.2 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.865, allocations: 57.7 kB / 0.5644 GB, free: 30.13 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/0.8668, allocations: 4.181 MB / 0.5685 GB, free: 25.93 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004431/0.8672, allocations: 0.712 MB / 0.5692 GB, free: 25.22 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.8674, allocations: 100 kB / 0.5693 GB, free: 25.12 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.8676, allocations: 0.5129 MB / 0.5698 GB, free: 24.61 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.87, allocations: 2.059 MB / 0.5718 GB, free: 22.54 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003219/0.8732, allocations: 4.709 MB / 0.5764 GB, free: 16.54 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.8765, allocations: 3.218 MB / 0.5796 GB, free: 13.31 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.213e-05/0.8766, allocations: 32 kB / 0.5796 GB, free: 13.28 MB / 378.8 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.008648/0.8852, allocations: 7.046 MB / 0.5865 GB, free: 6.223 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.8853, allocations: 44 kB / 0.5865 GB, free: 6.18 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.8854, allocations: 88 kB / 0.5866 GB, free: 6.094 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/0.8862, allocations: 444.1 kB / 0.587 GB, free: 5.66 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/0.8893, allocations: 1.174 MB / 0.5882 GB, free: 4.484 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.8932, allocations: 4.079 MB / 0.5921 GB, free: 284 kB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003793/0.897, allocations: 0.72 MB / 0.5929 GB, free: 15.55 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000602/0.8976, allocations: 288 kB / 0.5931 GB, free: 15.27 MB / 394.8 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 (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.00624/0.9039, allocations: 3.485 MB / 0.5965 GB, free: 11.77 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006961/0.9046, allocations: 296.3 kB / 0.5968 GB, free: 11.47 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005289/0.9099, allocations: 3.394 MB / 0.6001 GB, free: 8.062 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003525/0.9134, allocations: 2.604 MB / 0.6027 GB, free: 5.445 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.9134, allocations: 4 kB / 0.6027 GB, free: 5.441 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/0.9135, allocations: 11.95 kB / 0.6027 GB, free: 5.43 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/0.9296, allocations: 9.4 MB / 0.6119 GB, free: 12 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.9297, allocations: 0 / 0.6119 GB, free: 12 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.9311, allocations: 363.5 kB / 0.6122 GB, free: 11.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007275/0.9319, allocations: 321.2 kB / 0.6125 GB, free: 11.32 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.932, allocations: 43.94 kB / 0.6126 GB, free: 11.28 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004676/0.9367, allocations: 3.872 MB / 0.6163 GB, free: 7.277 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9367, allocations: 4 kB / 0.6163 GB, free: 7.273 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007157/0.9439, allocations: 4.808 MB / 0.621 GB, free: 2.434 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.9454, allocations: 0.6218 MB / 0.6216 GB, free: 1.789 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.9457, allocations: 35.95 kB / 0.6217 GB, free: 1.754 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.9469, allocations: 135.9 kB / 0.6218 GB, free: 1.621 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.9472, allocations: 133.8 kB / 0.6219 GB, free: 1.488 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.9473, allocations: 59.97 kB / 0.622 GB, free: 1.43 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003494/0.9508, allocations: 2.171 MB / 0.6241 GB, free: 15.26 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9508, allocations: 0 / 0.6241 GB, free: 15.26 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006841/0.9577, allocations: 2.027 MB / 0.6261 GB, free: 13.22 MB / 426.8 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 (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.0006269/0.9583, allocations: 203.1 kB / 0.6263 GB, free: 13.03 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.007722/0.9661, allocations: 4.771 MB / 0.631 GB, free: 8.262 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.9661, allocations: 0 / 0.631 GB, free: 8.262 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002479/0.9686, allocations: 1.634 MB / 0.6325 GB, free: 6.617 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/0.9721, allocations: 0.6463 MB / 0.6332 GB, free: 5.98 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/0.9979, allocations: 16.6 MB / 0.6494 GB, free: 5.363 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2004/1.198, allocations: 5.62 MB / 0.6549 GB, free: 142.9 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.199, allocations: 287.5 kB / 0.6552 GB, free: 142.9 MB / 442.8 MB Notification: Performance of SimCode: time 1.042e-06/1.199, allocations: 0 / 0.6552 GB, free: 142.9 MB / 442.8 MB Notification: Performance of Templates: time 0.1464/1.346, allocations: 135.3 MB / 0.7873 GB, free: 26.2 MB / 442.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches