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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 183.7 kB / 18.04 MB, free: 3.754 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.263/1.263, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007872/0.0007873, allocations: 82.38 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002736, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.188, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09626/0.2843, allocations: 91.92 MB / 469 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.2846, allocations: 83.95 kB / 469 MB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8344/1.119, allocations: 304.4 MB / 0.7553 GB, free: 33.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.119, allocations: 0 / 0.7553 GB, free: 33.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003666/1.12, allocations: 195.8 kB / 0.7555 GB, free: 33.06 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.02218/1.142, allocations: 8.16 MB / 0.7634 GB, free: 24.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/1.142, allocations: 8.031 kB / 0.7634 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01895/1.161, allocations: 3.903 MB / 0.7672 GB, free: 20.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009627/1.17, allocations: 5.445 MB / 0.7726 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006624/1.171, allocations: 0.6772 MB / 0.7732 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002631/1.174, allocations: 0.866 MB / 0.7741 GB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02721/1.201, allocations: 15.42 MB / 0.7891 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002179/1.201, allocations: 11.91 kB / 0.7891 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/1.203, allocations: 381.9 kB / 0.7895 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006095/1.203, allocations: 0.5845 MB / 0.7901 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/1.228, allocations: 12.93 MB / 0.8027 GB, free: 344 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4003/1.629, allocations: 47.86 MB / 0.8494 GB, free: 47 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/1.64, allocations: 9.698 MB / 0.8589 GB, free: 43.67 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009029/1.649, allocations: 6.639 MB / 0.8654 GB, free: 40.82 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03432/1.683, allocations: 21.01 MB / 0.8859 GB, free: 30.97 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/1.684, allocations: 94.23 kB / 0.886 GB, free: 30.89 MB / 426.8 MB Notification: Performance of pre-optimization done (n=711): time 8.636e-06/1.684, allocations: 0 / 0.886 GB, free: 30.89 MB / 426.8 MB Notification: Performance of matching and sorting (n=711): time 0.04105/1.725, allocations: 21.04 MB / 0.9066 GB, free: 22.92 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/1.725, allocations: 106.8 kB / 0.9067 GB, free: 22.85 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/1.728, allocations: 1.956 MB / 0.9086 GB, free: 22.14 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008191/1.728, allocations: 108.7 kB / 0.9087 GB, free: 22.05 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/1.73, allocations: 3.032 MB / 0.9116 GB, free: 19.86 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001976/1.731, allocations: 2.339 MB / 0.9139 GB, free: 18.04 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006189/1.732, allocations: 117.8 kB / 0.914 GB, free: 17.95 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004683/1.733, allocations: 0.5869 MB / 0.9146 GB, free: 17.52 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005863/1.738, allocations: 4.631 MB / 0.9191 GB, free: 14.51 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00652/1.745, allocations: 5.881 MB / 0.9249 GB, free: 8.984 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01875/1.764, allocations: 11.38 MB / 0.936 GB, free: 15.8 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.049e-05/1.764, allocations: 8 kB / 0.936 GB, free: 15.8 MB / 442.8 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.0239/1.788, allocations: 13.22 MB / 0.9489 GB, free: 4.305 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/1.788, allocations: 16.94 kB / 0.9489 GB, free: 4.289 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.508e-05/1.788, allocations: 32 kB / 0.9489 GB, free: 4.258 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006351/1.794, allocations: 3.723 MB / 0.9526 GB, free: 1.117 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/1.799, allocations: 1.03 MB / 0.9536 GB, free: 336 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/1.809, allocations: 9.25 MB / 0.9626 GB, free: 7.984 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/1.813, allocations: 0.7108 MB / 0.9633 GB, free: 7.348 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/1.814, allocations: 270.9 kB / 0.9636 GB, free: 7.105 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.006823/1.821, allocations: 3.424 MB / 0.9669 GB, free: 4.309 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.822, allocations: 354.8 kB / 0.9672 GB, free: 3.961 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2097/2.032, allocations: 13.25 MB / 0.9802 GB, free: 83.19 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01503/2.047, allocations: 11.57 MB / 0.9915 GB, free: 82.91 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/2.047, allocations: 3.312 kB / 0.9915 GB, free: 82.91 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-05/2.047, allocations: 24.89 kB / 0.9915 GB, free: 82.91 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03305/2.08, allocations: 24.5 MB / 1.015 GB, free: 82.21 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/2.08, allocations: 0 / 1.015 GB, free: 82.21 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/2.083, allocations: 0.7181 MB / 1.016 GB, free: 82.21 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004936/2.088, allocations: 3.676 MB / 1.02 GB, free: 82.12 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000609/2.089, allocations: 152.1 kB / 1.02 GB, free: 82.12 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007669/2.096, allocations: 9.14 MB / 1.029 GB, free: 78.23 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/2.096, allocations: 2.875 kB / 1.029 GB, free: 78.23 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02338/2.12, allocations: 19 MB / 1.047 GB, free: 70.1 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00311/2.123, allocations: 1.499 MB / 1.049 GB, free: 69.37 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007555/2.124, allocations: 92.28 kB / 1.049 GB, free: 69.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/2.126, allocations: 254.3 kB / 1.049 GB, free: 69.23 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/2.127, allocations: 0.515 MB / 1.05 GB, free: 69.12 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005043/2.127, allocations: 188.2 kB / 1.05 GB, free: 69.07 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001627/2.129, allocations: 1.31 MB / 1.051 GB, free: 68.59 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.7e-07/2.129, allocations: 2.312 kB / 1.051 GB, free: 68.59 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004792/2.134, allocations: 2.164 MB / 1.053 GB, free: 68.16 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.0007824/2.135, allocations: 286.9 kB / 1.054 GB, free: 68 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01455/2.149, allocations: 11.05 MB / 1.064 GB, free: 63.02 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/2.149, allocations: 0 / 1.064 GB, free: 63.02 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008048/2.157, allocations: 5.587 MB / 1.07 GB, free: 58.25 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/2.161, allocations: 0.6879 MB / 1.07 GB, free: 57.71 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/2.191, allocations: 22 MB / 1.092 GB, free: 37.91 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006828/2.198, allocations: 6.024 MB / 1.098 GB, free: 33.16 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004201/2.202, allocations: 1.305 MB / 1.099 GB, free: 32.25 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000863/2.203, allocations: 242.3 kB / 1.099 GB, free: 32.02 MB / 458.8 MB Notification: Performance of SimCode: time 8.11e-07/2.203, allocations: 0 / 1.099 GB, free: 32.02 MB / 458.8 MB Notification: Performance of Templates: time 0.3311/2.534, allocations: 102.9 MB / 1.2 GB, free: 61.03 MB / 458.8 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/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_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches