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.001107/0.001107, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.57/1.57, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.000863/0.0008631, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.847e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.0947, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4239, allocations: 91.68 MB / 461.7 MB, free: 1.699 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.4242, allocations: 86.98 kB / 461.8 MB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.041/1.465, allocations: 305.1 MB / 0.7489 GB, free: 52.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.026e-06/1.465, allocations: 0 / 0.7489 GB, free: 52.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003896/1.466, allocations: 195.9 kB / 0.7491 GB, free: 52.19 MB / 426.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.02678/1.493, allocations: 7.988 MB / 0.7569 GB, free: 49.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.493, allocations: 10.94 kB / 0.7569 GB, free: 49.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02052/1.513, allocations: 3.884 MB / 0.7607 GB, free: 49.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/1.525, allocations: 5.384 MB / 0.7659 GB, free: 48.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009571/1.526, allocations: 0.6741 MB / 0.7666 GB, free: 48.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003585/1.529, allocations: 0.8668 MB / 0.7674 GB, free: 48.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03529/1.565, allocations: 15.18 MB / 0.7823 GB, free: 47.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002861/1.565, allocations: 15.7 kB / 0.7823 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002568/1.568, allocations: 379.2 kB / 0.7826 GB, free: 46.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005478/1.568, allocations: 0.5806 MB / 0.7832 GB, free: 46.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02446/1.593, allocations: 12.75 MB / 0.7956 GB, free: 41.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08481/1.677, allocations: 47.8 MB / 0.8423 GB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/1.692, allocations: 9.68 MB / 0.8518 GB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01081/1.703, allocations: 6.583 MB / 0.8582 GB, free: 6.109 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.344/2.047, allocations: 20.99 MB / 0.8787 GB, free: 62.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.715e-05/2.047, allocations: 88.84 kB / 0.8788 GB, free: 62.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=711): time 9.638e-06/2.047, allocations: 0 / 0.8788 GB, free: 62.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=711): time 0.02306/2.07, allocations: 11.54 MB / 0.8901 GB, free: 62.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/2.07, allocations: 104.9 kB / 0.8902 GB, free: 62.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/2.073, allocations: 1.728 MB / 0.8918 GB, free: 62.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001394/2.074, allocations: 116.9 kB / 0.892 GB, free: 62.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/2.076, allocations: 3.038 MB / 0.8949 GB, free: 61.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003501/2.079, allocations: 2.333 MB / 0.8972 GB, free: 59.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006053/2.08, allocations: 115.8 kB / 0.8973 GB, free: 59.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006366/2.081, allocations: 0.5938 MB / 0.8979 GB, free: 59.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006641/2.087, allocations: 4.582 MB / 0.9024 GB, free: 59.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00914/2.097, allocations: 5.804 MB / 0.908 GB, free: 58.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009424/2.106, allocations: 5.568 MB / 0.9135 GB, free: 57.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.745e-05/2.106, allocations: 7.156 kB / 0.9135 GB, free: 57.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.0215/2.128, allocations: 13.11 MB / 0.9263 GB, free: 54.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/2.128, allocations: 21.03 kB / 0.9263 GB, free: 54.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.354e-05/2.128, allocations: 33.53 kB / 0.9263 GB, free: 54.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005286/2.133, allocations: 3.697 MB / 0.9299 GB, free: 53.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/2.138, allocations: 1.036 MB / 0.931 GB, free: 53.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008265/2.146, allocations: 9.171 MB / 0.9399 GB, free: 47.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/2.151, allocations: 0.7158 MB / 0.9406 GB, free: 47.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000786/2.151, allocations: 269.6 kB / 0.9409 GB, free: 47.37 MB / 442.7 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 () * 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.0009283/2.152, allocations: 416.3 kB / 0.9413 GB, free: 47.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008729/2.153, allocations: 349 kB / 0.9416 GB, free: 46.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/2.169, allocations: 12.89 MB / 0.9542 GB, free: 41.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01385/2.183, allocations: 11.48 MB / 0.9654 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/2.183, allocations: 7.406 kB / 0.9654 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.887e-05/2.183, allocations: 26.62 kB / 0.9654 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03641/2.22, allocations: 24.4 MB / 0.9893 GB, free: 18.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/2.22, allocations: 2.375 kB / 0.9893 GB, free: 18.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003111/2.223, allocations: 0.71 MB / 0.99 GB, free: 18.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005145/2.228, allocations: 3.647 MB / 0.9935 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001022/2.229, allocations: 146 kB / 0.9937 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007413/2.237, allocations: 9.123 MB / 1.003 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/2.237, allocations: 0 / 1.003 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03966/2.276, allocations: 19.72 MB / 1.022 GB, free: 7.848 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004929/2.281, allocations: 1.491 MB / 1.023 GB, free: 6.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002483/2.284, allocations: 88 kB / 1.023 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004005/2.288, allocations: 254.6 kB / 1.024 GB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001866/2.29, allocations: 0.5276 MB / 1.024 GB, free: 5.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006952/2.29, allocations: 178.5 kB / 1.024 GB, free: 5.723 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002149/2.293, allocations: 1.299 MB / 1.026 GB, free: 4.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.293, allocations: 0 / 1.026 GB, free: 4.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007766/2.3, allocations: 2.154 MB / 1.028 GB, free: 2.434 MB / 458.7 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 () * 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.001528/2.302, allocations: 305.2 kB / 1.028 GB, free: 2.199 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2811/2.583, allocations: 11.52 MB / 1.039 GB, free: 77.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/2.583, allocations: 2.812 kB / 1.039 GB, free: 77.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01117/2.594, allocations: 5.551 MB / 1.045 GB, free: 77.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/2.6, allocations: 0.6033 MB / 1.045 GB, free: 77.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03952/2.639, allocations: 16.95 MB / 1.062 GB, free: 75.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006928/2.646, allocations: 6.165 MB / 1.068 GB, free: 74.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004038/2.65, allocations: 1.297 MB / 1.069 GB, free: 74.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008283/2.651, allocations: 248.3 kB / 1.069 GB, free: 74.64 MB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/2.651, allocations: 4 kB / 1.069 GB, free: 74.64 MB / 458.7 MB Notification: Performance of Templates: time 0.1303/2.781, allocations: 93.6 MB / 1.161 GB, free: 34.68 MB / 458.7 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