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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.001441, allocations: 176.8 kB / 16.41 MB, free: 5.73 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.42/1.42, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007713/0.0007712, allocations: 91.86 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 8 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2669, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002732/0.2697, allocations: 2.305 MB / 376.9 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.271, allocations: 0.685 MB / 377.6 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.2711, allocations: 7.281 kB / 377.6 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.2713, allocations: 35.61 kB / 377.6 MB, free: 43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.2715, allocations: 76.91 kB / 377.7 MB, free: 42.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.2717, allocations: 65.42 kB / 377.7 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.2721, allocations: 318.5 kB / 378 MB, free: 42.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.2723, allocations: 73.81 kB / 378.1 MB, free: 42.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.2724, allocations: 112.2 kB / 378.2 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.2726, allocations: 127.8 kB / 378.4 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.2726, allocations: 19.28 kB / 378.4 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.979e-05/0.2727, allocations: 15.97 kB / 378.4 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.2728, allocations: 49.56 kB / 378.4 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.2728, allocations: 73.7 kB / 378.5 MB, free: 42.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.2731, allocations: 237 kB / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2731, allocations: 0 / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2731, allocations: 0.9688 kB / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2731, allocations: 0 / 378.7 MB, free: 42.23 MB / 298.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.001155/0.2743, allocations: 0.6098 MB / 379.3 MB, free: 41.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2743, allocations: 13.62 kB / 379.4 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.186e-05/0.2744, allocations: 30.12 kB / 379.4 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.2747, allocations: 280 kB / 379.7 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.2748, allocations: 16.38 kB / 379.7 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.2748, allocations: 22.25 kB / 379.7 MB, free: 41.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.2755, allocations: 261.1 kB / 380 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2755, allocations: 1.188 kB / 380 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.2755, allocations: 5.219 kB / 380 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2756, allocations: 5.594 kB / 380 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.2763, allocations: 274.8 kB / 380.2 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.2778, allocations: 0.9054 MB / 381.1 MB, free: 40.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/0.2787, allocations: 267.5 kB / 381.4 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.2791, allocations: 123.2 kB / 381.5 MB, free: 40.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.2792, allocations: 2 kB / 381.5 MB, free: 40.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005467/0.2797, allocations: 195.5 kB / 381.7 MB, free: 40.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.836e-06/0.2797, allocations: 0 / 381.7 MB, free: 40.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002573/0.2823, allocations: 0.7465 MB / 382.5 MB, free: 39.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.2824, allocations: 105.6 kB / 382.6 MB, free: 39.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.2827, allocations: 274 kB / 382.8 MB, free: 39.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2827, allocations: 32.58 kB / 382.9 MB, free: 39.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.2828, allocations: 178.2 kB / 383 MB, free: 39.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.2828, allocations: 37.7 kB / 383.1 MB, free: 39.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.2828, allocations: 5.5 kB / 383.1 MB, free: 39.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.2829, allocations: 335.9 kB / 383.4 MB, free: 38.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.2833, allocations: 109.4 kB / 383.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.2837, allocations: 191.9 kB / 383.7 MB, free: 38.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.284, allocations: 150.5 kB / 383.9 MB, free: 38.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2841, allocations: 1.156 kB / 383.9 MB, free: 38.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001255/0.2853, allocations: 0.4887 MB / 384.3 MB, free: 38.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.491e-05/0.2854, allocations: 171.9 kB / 384.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2854, allocations: 2.75 kB / 384.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004501/0.2859, allocations: 87.48 kB / 384.6 MB, free: 38.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.2862, allocations: 49.27 kB / 384.6 MB, free: 38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.2888, allocations: 1.866 MB / 386.5 MB, free: 36.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.2892, allocations: 67.67 kB / 386.6 MB, free: 36.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2893, allocations: 12 kB / 386.6 MB, free: 36.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.2893, allocations: 4 kB / 386.6 MB, free: 36.27 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006406/0.2899, allocations: 314.4 kB / 386.9 MB, free: 35.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.2899, allocations: 0 / 386.9 MB, free: 35.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.777e-05/0.29, allocations: 24.84 kB / 386.9 MB, free: 35.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.2902, allocations: 43.97 kB / 387 MB, free: 35.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005939/0.2908, allocations: 1.315 MB / 388.3 MB, free: 34.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.2911, allocations: 51.81 kB / 388.3 MB, free: 34.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.2911, allocations: 8 kB / 388.3 MB, free: 34.38 MB / 298.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 () * Number of clocked 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.0001486/0.2913, allocations: 220.7 kB / 388.6 MB, free: 34.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.2913, allocations: 27.7 kB / 388.6 MB, free: 34.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.2914, allocations: 25.83 kB / 388.6 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2914, allocations: 0 / 388.6 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2914, allocations: 4 kB / 388.6 MB, free: 34.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2914, allocations: 0 / 388.6 MB, free: 34.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.2916, allocations: 301.4 kB / 388.9 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2916, allocations: 0 / 388.9 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.2918, allocations: 31.91 kB / 388.9 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/0.292, allocations: 84.8 kB / 389 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2921, allocations: 0 / 389 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.2939, allocations: 1.756 MB / 390.8 MB, free: 31.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2939, allocations: 3.953 kB / 390.8 MB, free: 31.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009744/0.2949, allocations: 401.3 kB / 391.2 MB, free: 31.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.2949, allocations: 104.7 kB / 391.3 MB, free: 31.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.295, allocations: 8 kB / 391.3 MB, free: 31.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.2952, allocations: 47.95 kB / 391.3 MB, free: 31.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.2953, allocations: 19.97 kB / 391.3 MB, free: 31.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2954, allocations: 0 / 391.3 MB, free: 31.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.2955, allocations: 194 kB / 391.5 MB, free: 30.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2955, allocations: 3.938 kB / 391.5 MB, free: 30.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005253/0.2961, allocations: 119.8 kB / 391.7 MB, free: 30.83 MB / 298.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) * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.2962, allocations: 99.25 kB / 391.8 MB, free: 30.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.2978, allocations: 0.8048 MB / 392.6 MB, free: 29.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2978, allocations: 4 kB / 392.6 MB, free: 29.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.2983, allocations: 251 kB / 392.8 MB, free: 29.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.2986, allocations: 43.48 kB / 392.9 MB, free: 29.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.3016, allocations: 1.078 MB / 393.9 MB, free: 28.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.3017, allocations: 0.7521 MB / 394.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.3018, allocations: 19.44 kB / 394.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3018, allocations: 0 / 394.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of Templates: time 0.005341/0.3072, allocations: 4.197 MB / 398.9 MB, free: 23.48 MB / 298.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/jenkins/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