Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,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.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,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.InvertingSchmittTrigger") [: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.00227/0.002273, allocations: 176.2 kB / 8.148 MB, free: 2.215 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.636/1.636, allocations: 205.2 MB / 213.7 MB, free: 13.88 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.001229/0.001229, allocations: 82 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.224e-05/1.271e-05, allocations: 0 / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2432, allocations: 47.56 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.3616, allocations: 78.39 MB / 440.2 MB, free: 7.676 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.3619, allocations: 76.45 kB / 440.3 MB, free: 7.602 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02736/0.3893, allocations: 5.473 MB / 445.8 MB, free: 2.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.3894, allocations: 4 kB / 445.8 MB, free: 2.148 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.001465/0.3908, allocations: 0.5846 MB / 446.4 MB, free: 1.516 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3909, allocations: 8.031 kB / 446.4 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.391, allocations: 31.62 kB / 446.4 MB, free: 1.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.3916, allocations: 271.5 kB / 446.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.3916, allocations: 8 kB / 446.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.3917, allocations: 12 kB / 446.7 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000508/0.3922, allocations: 148.9 kB / 446.8 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.3927, allocations: 162.4 kB / 447 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3927, allocations: 4.562 kB / 447 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.3928, allocations: 0 / 447 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3928, allocations: 4 kB / 447 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.3956, allocations: 0.9184 MB / 447.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.3961, allocations: 118.8 kB / 448 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.3963, allocations: 56.86 kB / 448.1 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.3964, allocations: 0.5625 kB / 448.1 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.3967, allocations: 129.9 kB / 448.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.505e-06/0.3967, allocations: 0 / 448.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001051/0.3977, allocations: 218.8 kB / 448.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.3978, allocations: 106.8 kB / 448.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.3982, allocations: 216.3 kB / 448.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.3983, allocations: 31.33 kB / 448.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3984, allocations: 218.2 kB / 449 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.3985, allocations: 43.39 kB / 449 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.3985, allocations: 0 / 449 MB, free: 14.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3986, allocations: 318.8 kB / 449.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.3988, allocations: 54.44 kB / 449.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3991, allocations: 129.4 kB / 449.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.3993, allocations: 52 kB / 449.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3993, allocations: 4 kB / 449.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001143/0.4005, allocations: 270.3 kB / 449.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003726/0.4008, allocations: 0.7859 MB / 450.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4009, allocations: 4 kB / 450.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.4011, allocations: 44.83 kB / 450.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.4016, allocations: 51.91 kB / 450.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.4031, allocations: 0.6928 MB / 451.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.4037, allocations: 55.34 kB / 451.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.4038, allocations: 16.06 kB / 451.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4038, allocations: 4 kB / 451.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005247/0.4043, allocations: 163.2 kB / 451.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4044, allocations: 0 / 451.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.4045, allocations: 24.84 kB / 451.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.4049, allocations: 60.14 kB / 451.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.4063, allocations: 1.255 MB / 453 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.4068, allocations: 39.98 kB / 453 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.4068, allocations: 14.88 kB / 453.1 MB, free: 10.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001401/0.407, allocations: 49.5 kB / 453.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.4071, allocations: 23.81 kB / 453.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.8e-05/0.4071, allocations: 21.69 kB / 453.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4072, allocations: 0 / 453.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4072, allocations: 11.92 kB / 453.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4072, allocations: 0 / 453.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.4076, allocations: 254 kB / 453.4 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4076, allocations: 4 kB / 453.4 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.4079, allocations: 35.91 kB / 453.4 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.4081, allocations: 36.84 kB / 453.5 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.4082, allocations: 7.984 kB / 453.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.4105, allocations: 1.522 MB / 455 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4106, allocations: 4 kB / 455 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009932/0.4116, allocations: 258.6 kB / 455.3 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4117, allocations: 96.84 kB / 455.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.4117, allocations: 2.188 kB / 455.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.4123, allocations: 51.86 kB / 455.4 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4124, allocations: 15.97 kB / 455.4 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.4124, allocations: 4 kB / 455.4 MB, free: 7.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002591/0.4127, allocations: 172.5 kB / 455.6 MB, free: 7.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006922/0.4134, allocations: 107.7 kB / 455.7 MB, free: 7.547 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.0001842/0.4136, allocations: 107.2 kB / 455.8 MB, free: 7.434 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.4153, allocations: 464.8 kB / 456.3 MB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4153, allocations: 0 / 456.3 MB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.4158, allocations: 165.2 kB / 456.4 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.4163, allocations: 44.34 kB / 456.5 MB, free: 6.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/0.4218, allocations: 0.8517 MB / 457.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.4224, allocations: 0.7701 MB / 458.1 MB, free: 5.074 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4224, allocations: 0 / 458.1 MB, free: 5.074 MB / 346.7 MB Notification: Performance of Templates: time 0.009181/0.4316, allocations: 3.985 MB / 462.1 MB, free: 1.117 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches