Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009884/0.0009884, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.18/1.18, allocations: 227.2 MB / 245 MB, free: 7.543 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008398/0.0008399, allocations: 106.5 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002231/0.0002231, allocations: 8 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1845, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08974/0.2743, allocations: 82.5 MB / 491.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.2746, allocations: 85.08 kB / 492 MB, free: 8.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01701/0.2916, allocations: 6.29 MB / 498.3 MB, free: 1.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2917, allocations: 0 / 498.3 MB, free: 1.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.2917, allocations: 8 kB / 498.3 MB, free: 1.723 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001108/0.2928, allocations: 0.6463 MB / 499 MB, free: 1.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2928, allocations: 8.031 kB / 499 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.913e-05/0.2929, allocations: 31.62 kB / 499 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.2933, allocations: 303.1 kB / 499.3 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.2934, allocations: 16.56 kB / 499.3 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.2934, allocations: 28 kB / 499.3 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/0.2941, allocations: 331.5 kB / 499.7 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2941, allocations: 0 / 499.7 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.2941, allocations: 12 kB / 499.7 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.2941, allocations: 11.98 kB / 499.7 MB, free: 252 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007659/0.2949, allocations: 298.1 kB / 500 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.2968, allocations: 1.219 MB / 0.4894 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007926/0.2976, allocations: 238.5 kB / 0.4897 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2976, allocations: 0 / 0.4897 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004392/0.298, allocations: 178.1 kB / 0.4898 GB, free: 14.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.2981, allocations: 192 / 0.4898 GB, free: 14.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001222/0.2993, allocations: 451.1 kB / 0.4903 GB, free: 13.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2993, allocations: 81.11 kB / 0.4903 GB, free: 13.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.2997, allocations: 303.6 kB / 0.4906 GB, free: 13.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.2997, allocations: 25.7 kB / 0.4907 GB, free: 13.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2998, allocations: 207.5 kB / 0.4909 GB, free: 13.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.2998, allocations: 31.92 kB / 0.4909 GB, free: 13.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.2999, allocations: 4 kB / 0.4909 GB, free: 13.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3, allocations: 338.8 kB / 0.4912 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.3003, allocations: 124.1 kB / 0.4913 GB, free: 12.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.3007, allocations: 230.9 kB / 0.4916 GB, free: 12.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.3011, allocations: 155.6 kB / 0.4917 GB, free: 12.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3011, allocations: 0 / 0.4917 GB, free: 12.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009634/0.3021, allocations: 435.7 kB / 0.4921 GB, free: 11.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.3021, allocations: 41.64 kB / 0.4922 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3022, allocations: 4 kB / 0.4922 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/0.3023, allocations: 32.94 kB / 0.4922 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3026, allocations: 75.88 kB / 0.4923 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000901/0.3035, allocations: 1.3 MB / 0.4935 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.3039, allocations: 71.73 kB / 0.4936 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.3039, allocations: 16 kB / 0.4936 GB, free: 10.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.3041, allocations: 144.9 kB / 0.4938 GB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.3041, allocations: 27.67 kB / 0.4938 GB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.3042, allocations: 30.61 kB / 0.4938 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3042, allocations: 0 / 0.4938 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3042, allocations: 0 / 0.4938 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3042, allocations: 4 kB / 0.4938 GB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.3046, allocations: 459.1 kB / 0.4943 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3046, allocations: 0 / 0.4943 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.3048, allocations: 39.95 kB / 0.4943 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.3049, allocations: 32.88 kB / 0.4943 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.305, allocations: 0 / 0.4943 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008299/0.3058, allocations: 1.308 MB / 0.4956 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3058, allocations: 0 / 0.4956 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.3065, allocations: 320.1 kB / 0.4959 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/0.3066, allocations: 104.8 kB / 0.496 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.3067, allocations: 4 kB / 0.496 GB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.3069, allocations: 35.97 kB / 0.496 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.307, allocations: 15.97 kB / 0.4961 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.307, allocations: 4 kB / 0.4961 GB, free: 7.285 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002112/0.3072, allocations: 231.1 kB / 0.4963 GB, free: 7.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3072, allocations: 3.938 kB / 0.4963 GB, free: 7.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.3076, allocations: 71.8 kB / 0.4964 GB, free: 6.988 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.3077, allocations: 107.3 kB / 0.4965 GB, free: 6.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009287/0.3087, allocations: 442.6 kB / 0.4969 GB, free: 6.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3087, allocations: 4.125 kB / 0.4969 GB, free: 6.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.3091, allocations: 222.6 kB / 0.4971 GB, free: 6.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.3095, allocations: 43.3 kB / 0.4971 GB, free: 6.145 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009291/0.3104, allocations: 0.5539 MB / 0.4977 GB, free: 5.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3107, allocations: 0.7599 MB / 0.4984 GB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.3108, allocations: 34.95 kB / 0.4985 GB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.3109, allocations: 19.44 kB / 0.4985 GB, free: 4.715 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3109, allocations: 0 / 0.4985 GB, free: 4.715 MB / 378.7 MB Notification: Performance of Templates: time 0.005813/0.3167, allocations: 2.865 MB / 0.5013 GB, free: 1.883 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches