Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002533/0.002533, allocations: 173.7 kB / 8.149 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001236/0.001235, allocations: 85.58 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.14e-05/1.141e-05, allocations: 4 kB / 314.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2262, allocations: 47.56 MB / 361.9 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3416, allocations: 78.37 MB / 440.2 MB, free: 7.684 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.3419, allocations: 79.66 kB / 440.3 MB, free: 7.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02675/0.3687, allocations: 5.476 MB / 445.8 MB, free: 2.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.3687, allocations: 4 kB / 445.8 MB, free: 2.16 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00149/0.3702, allocations: 0.5884 MB / 446.4 MB, free: 1.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3703, allocations: 12.03 kB / 446.4 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.3704, allocations: 27.62 kB / 446.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.3709, allocations: 268.1 kB / 446.7 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.371, allocations: 9.812 kB / 446.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.371, allocations: 16 kB / 446.7 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004972/0.3715, allocations: 144.9 kB / 446.8 MB, free: 1.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.372, allocations: 162.4 kB / 447 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3721, allocations: 0 / 447 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3721, allocations: 3.938 kB / 447 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3721, allocations: 4 kB / 447 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.3749, allocations: 0.9155 MB / 447.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.3754, allocations: 125.3 kB / 448 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.3755, allocations: 52.86 kB / 448.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.3756, allocations: 0 / 448.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.3759, allocations: 130.8 kB / 448.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.933e-06/0.3759, allocations: 0 / 448.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001029/0.3769, allocations: 210.2 kB / 448.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.377, allocations: 114.8 kB / 448.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.3774, allocations: 208.1 kB / 448.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.3774, allocations: 29.7 kB / 448.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3776, allocations: 214.6 kB / 449 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.3776, allocations: 43.39 kB / 449 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.3777, allocations: 0 / 449 MB, free: 14.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3778, allocations: 318.8 kB / 449.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.378, allocations: 50.62 kB / 449.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.3782, allocations: 115.8 kB / 449.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3784, allocations: 43.98 kB / 449.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3784, allocations: 4 kB / 449.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001069/0.3795, allocations: 262.4 kB / 449.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.3798, allocations: 0.6199 MB / 450.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3798, allocations: 4 kB / 450.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/0.38, allocations: 37.91 kB / 450.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.3805, allocations: 51.91 kB / 450.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005831/0.3811, allocations: 0.5835 MB / 451.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.3816, allocations: 51.88 kB / 451.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.3816, allocations: 8.938 kB / 451.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.3817, allocations: 8 kB / 451.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004959/0.3822, allocations: 154.8 kB / 451.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3822, allocations: 0 / 451.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.3823, allocations: 28.84 kB / 451.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.3827, allocations: 48.14 kB / 451.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.3843, allocations: 1.385 MB / 452.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.3847, allocations: 39.98 kB / 452.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3848, allocations: 12.06 kB / 452.8 MB, free: 10.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.3849, allocations: 41.42 kB / 452.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.385, allocations: 23.72 kB / 452.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.3851, allocations: 25.77 kB / 452.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3851, allocations: 0.9375 kB / 452.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.3851, allocations: 0 / 452.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3851, allocations: 0 / 452.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.3855, allocations: 257.9 kB / 453.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3855, allocations: 3.938 kB / 453.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.3858, allocations: 35.98 kB / 453.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.386, allocations: 40.83 kB / 453.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3861, allocations: 0 / 453.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.3881, allocations: 1.443 MB / 454.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3882, allocations: 4 kB / 454.7 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009458/0.3891, allocations: 255.4 kB / 454.9 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.3892, allocations: 92.92 kB / 455 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.3893, allocations: 4 kB / 455 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.3898, allocations: 43.95 kB / 455.1 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.3899, allocations: 23.88 kB / 455.1 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.39, allocations: 4 kB / 455.1 MB, free: 8.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002374/0.3902, allocations: 164.5 kB / 455.3 MB, free: 7.996 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006553/0.3909, allocations: 111.6 kB / 455.4 MB, free: 7.887 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001805/0.3911, allocations: 107.2 kB / 455.5 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009501/0.392, allocations: 373 kB / 455.8 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3921, allocations: 0 / 455.8 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.3924, allocations: 166.5 kB / 456 MB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.3928, allocations: 33.08 kB / 456 MB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3938, allocations: 297.9 kB / 456.3 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.3943, allocations: 0.775 MB / 457.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3943, allocations: 0 / 457.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of Templates: time 0.008518/0.4028, allocations: 3.942 MB / 461 MB, free: 2.156 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches