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.002018/0.002018, allocations: 182.2 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.888/2.888, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001235/0.001235, allocations: 93.05 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005984/0.0005989, allocations: 11.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.493, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.6959, allocations: 91.92 MB / 467.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00044/0.6964, allocations: 87.95 kB / 467.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814/2.511, allocations: 304.4 MB / 0.754 GB, free: 33.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.917e-06/2.511, allocations: 0 / 0.754 GB, free: 33.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006849/2.511, allocations: 195.8 kB / 0.7542 GB, free: 33.14 MB / 410.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.05545/2.567, allocations: 8.159 MB / 0.7621 GB, free: 24.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.437e-05/2.567, allocations: 11.31 kB / 0.7622 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04005/2.607, allocations: 3.906 MB / 0.766 GB, free: 21.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/2.63, allocations: 5.449 MB / 0.7713 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001967/2.632, allocations: 0.6725 MB / 0.772 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007052/2.639, allocations: 0.8624 MB / 0.7728 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07157/2.711, allocations: 15.42 MB / 0.7879 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005034/2.712, allocations: 7.906 kB / 0.7879 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006292/2.718, allocations: 383 kB / 0.7882 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001551/2.72, allocations: 0.5806 MB / 0.7888 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.057/2.777, allocations: 12.94 MB / 0.8014 GB, free: 424 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7393/3.516, allocations: 47.85 MB / 0.8482 GB, free: 47.08 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/3.531, allocations: 9.696 MB / 0.8576 GB, free: 43.76 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01102/3.542, allocations: 6.642 MB / 0.8641 GB, free: 40.91 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04281/3.585, allocations: 21.01 MB / 0.8846 GB, free: 31.05 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/3.585, allocations: 94.25 kB / 0.8847 GB, free: 30.98 MB / 426.8 MB Notification: Performance of pre-optimization done (n=711): time 1.278e-05/3.585, allocations: 0 / 0.8847 GB, free: 30.98 MB / 426.8 MB Notification: Performance of matching and sorting (n=711): time 0.04555/3.63, allocations: 21.04 MB / 0.9053 GB, free: 23.02 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/3.63, allocations: 106.2 kB / 0.9054 GB, free: 22.95 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/3.634, allocations: 1.949 MB / 0.9073 GB, free: 22.25 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001163/3.635, allocations: 112.4 kB / 0.9074 GB, free: 22.15 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/3.636, allocations: 3.043 MB / 0.9104 GB, free: 19.98 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002706/3.639, allocations: 2.327 MB / 0.9126 GB, free: 18.17 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/3.64, allocations: 116.5 kB / 0.9127 GB, free: 18.08 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0006538/3.641, allocations: 0.5951 MB / 0.9133 GB, free: 17.65 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007466/3.648, allocations: 4.632 MB / 0.9178 GB, free: 14.58 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008526/3.657, allocations: 5.874 MB / 0.9236 GB, free: 9.062 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02087/3.678, allocations: 11.35 MB / 0.9347 GB, free: 15.8 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-05/3.678, allocations: 8 kB / 0.9347 GB, free: 15.8 MB / 442.8 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02986/3.708, allocations: 13.22 MB / 0.9476 GB, free: 4.305 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/3.708, allocations: 16 kB / 0.9476 GB, free: 4.289 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/3.708, allocations: 32 kB / 0.9476 GB, free: 4.258 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007458/3.716, allocations: 3.728 MB / 0.9513 GB, free: 1.113 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004654/3.72, allocations: 1.032 MB / 0.9523 GB, free: 332 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/3.733, allocations: 9.241 MB / 0.9613 GB, free: 7.988 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004964/3.738, allocations: 0.7106 MB / 0.962 GB, free: 7.352 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001853/3.739, allocations: 268.5 kB / 0.9623 GB, free: 7.109 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * 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 (570): * Single equations (assignments): 479 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.009489/3.749, allocations: 3.428 MB / 0.9656 GB, free: 4.312 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002274/3.751, allocations: 355 kB / 0.9659 GB, free: 3.965 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2438/3.995, allocations: 13.25 MB / 0.9789 GB, free: 83.22 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01376/4.009, allocations: 11.57 MB / 0.9902 GB, free: 82.95 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/4.009, allocations: 0 / 0.9902 GB, free: 82.95 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.252e-05/4.009, allocations: 29.25 kB / 0.9902 GB, free: 82.95 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03198/4.041, allocations: 24.5 MB / 1.014 GB, free: 82.24 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/4.041, allocations: 7.328 kB / 1.014 GB, free: 82.24 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00267/4.044, allocations: 0.7059 MB / 1.015 GB, free: 82.24 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004834/4.049, allocations: 3.677 MB / 1.018 GB, free: 82.15 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007231/4.049, allocations: 154.7 kB / 1.019 GB, free: 82.15 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007095/4.056, allocations: 9.144 MB / 1.028 GB, free: 78.27 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/4.056, allocations: 3.891 kB / 1.028 GB, free: 78.27 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02402/4.08, allocations: 18.99 MB / 1.046 GB, free: 70.14 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002892/4.083, allocations: 1.499 MB / 1.048 GB, free: 69.41 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/4.084, allocations: 95.91 kB / 1.048 GB, free: 69.34 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/4.087, allocations: 253.3 kB / 1.048 GB, free: 69.27 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/4.088, allocations: 0.5214 MB / 1.048 GB, free: 69.16 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006558/4.089, allocations: 181.8 kB / 1.049 GB, free: 69.11 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001865/4.091, allocations: 1.311 MB / 1.05 GB, free: 68.63 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.91e-07/4.091, allocations: 0 / 1.05 GB, free: 68.63 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005263/4.096, allocations: 2.165 MB / 1.052 GB, free: 68.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].pin_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 (403): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008794/4.097, allocations: 290.8 kB / 1.052 GB, free: 68.04 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01727/4.114, allocations: 11.04 MB / 1.063 GB, free: 63.02 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/4.114, allocations: 6.344 kB / 1.063 GB, free: 63.02 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01034/4.124, allocations: 5.589 MB / 1.068 GB, free: 58.24 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006007/4.13, allocations: 0.6939 MB / 1.069 GB, free: 57.7 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0386/4.169, allocations: 21.73 MB / 1.09 GB, free: 38.09 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/4.18, allocations: 5.846 MB / 1.096 GB, free: 33.45 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/4.182, allocations: 289.2 kB / 1.096 GB, free: 33.18 MB / 458.8 MB Notification: Performance of SimCode: time 1.542e-06/4.182, allocations: 0 / 1.096 GB, free: 33.18 MB / 458.8 MB Notification: Performance of Templates: time 1.125/5.308, allocations: 417 MB / 1.504 GB, free: 101.3 MB / 490.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/jenkins1/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