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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.502/1.502, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0008149/0.0008151, allocations: 93.48 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002966, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2426, allocations: 47.58 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003185/0.2459, allocations: 2.309 MB / 377.4 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2471, allocations: 0.689 MB / 378.1 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.2473, allocations: 11.19 kB / 378.1 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.2474, allocations: 28.02 kB / 378.1 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.2476, allocations: 79.75 kB / 378.2 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.2479, allocations: 70.88 kB / 378.3 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.2482, allocations: 315.4 kB / 378.6 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.2485, allocations: 79.3 kB / 378.7 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2486, allocations: 112.8 kB / 378.8 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.2488, allocations: 127.1 kB / 378.9 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.2489, allocations: 15.03 kB / 378.9 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.071e-05/0.2489, allocations: 15.12 kB / 378.9 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.249, allocations: 47.23 kB / 379 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.2492, allocations: 153.9 kB / 379.1 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.2494, allocations: 236.8 kB / 379.4 MB, free: 42.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2494, allocations: 0 / 379.4 MB, free: 42.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2495, allocations: 1 kB / 379.4 MB, free: 42.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.2495, allocations: 4 kB / 379.4 MB, free: 42.14 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.001148/0.2506, allocations: 0.6069 MB / 380 MB, free: 41.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.2507, allocations: 10.25 kB / 380 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.2508, allocations: 30.72 kB / 380 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.2511, allocations: 276.4 kB / 380.3 MB, free: 41.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.2512, allocations: 21.84 kB / 380.3 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.2512, allocations: 25.78 kB / 380.3 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.2519, allocations: 261.8 kB / 380.6 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2519, allocations: 4 kB / 380.6 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.2519, allocations: 5.844 kB / 380.6 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2519, allocations: 7.656 kB / 380.6 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007634/0.2527, allocations: 268.9 kB / 380.9 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.2543, allocations: 0.9005 MB / 381.8 MB, free: 40.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.2552, allocations: 271.2 kB / 382 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.2555, allocations: 118.7 kB / 382.1 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.2555, allocations: 2.219 kB / 382.1 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00052/0.2561, allocations: 195.7 kB / 382.3 MB, free: 39.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.845e-06/0.2561, allocations: 3.938 kB / 382.3 MB, free: 39.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002475/0.2586, allocations: 0.7549 MB / 383.1 MB, free: 39.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.2586, allocations: 109.2 kB / 383.2 MB, free: 39.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.2589, allocations: 260 kB / 383.5 MB, free: 39.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.259, allocations: 26.98 kB / 383.5 MB, free: 39.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2591, allocations: 178.8 kB / 383.7 MB, free: 39.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.2591, allocations: 41.17 kB / 383.7 MB, free: 39.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.2592, allocations: 1.062 kB / 383.7 MB, free: 39.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.2592, allocations: 340.1 kB / 384 MB, free: 38.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.2596, allocations: 109.3 kB / 384.1 MB, free: 38.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.26, allocations: 179.5 kB / 384.3 MB, free: 38.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.2607, allocations: 290.2 kB / 384.6 MB, free: 38.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2607, allocations: 0 / 384.6 MB, free: 38.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001298/0.2621, allocations: 471.8 kB / 385.1 MB, free: 38.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.2622, allocations: 164.6 kB / 385.2 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2622, allocations: 5.875 kB / 385.2 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.2626, allocations: 85.67 kB / 385.3 MB, free: 37.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2629, allocations: 46.91 kB / 385.4 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.2653, allocations: 1.818 MB / 387.2 MB, free: 36.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.2656, allocations: 51.81 kB / 387.2 MB, free: 36.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.2657, allocations: 4 kB / 387.2 MB, free: 36.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/0.2657, allocations: 5.25 kB / 387.2 MB, free: 36.05 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006073/0.2663, allocations: 318.2 kB / 387.5 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.2663, allocations: 0 / 387.5 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.61e-05/0.2664, allocations: 28.84 kB / 387.6 MB, free: 35.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.2665, allocations: 47.94 kB / 387.6 MB, free: 35.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007159/0.2673, allocations: 1.436 MB / 389 MB, free: 34.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.2676, allocations: 43.81 kB / 389.1 MB, free: 34.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2676, allocations: 11.94 kB / 389.1 MB, free: 34.02 MB / 298.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 () * Number of clocked 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.0001997/0.2678, allocations: 208.6 kB / 389.3 MB, free: 33.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.2678, allocations: 27.78 kB / 389.3 MB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.2679, allocations: 25.83 kB / 389.4 MB, free: 33.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2679, allocations: 4 kB / 389.4 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2679, allocations: 0 / 389.4 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2679, allocations: 3.938 kB / 389.4 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.2681, allocations: 297.4 kB / 389.7 MB, free: 33.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2681, allocations: 0 / 389.7 MB, free: 33.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.2683, allocations: 31.92 kB / 389.7 MB, free: 33.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/0.2685, allocations: 76.8 kB / 389.8 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2685, allocations: 4 kB / 389.8 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.2702, allocations: 1.675 MB / 391.4 MB, free: 31.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2702, allocations: 0 / 391.4 MB, free: 31.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009132/0.2711, allocations: 396.7 kB / 391.8 MB, free: 31.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.2712, allocations: 104.8 kB / 391.9 MB, free: 30.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.2712, allocations: 0 / 391.9 MB, free: 30.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2715, allocations: 47.95 kB / 392 MB, free: 30.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.2716, allocations: 19.97 kB / 392 MB, free: 30.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.2716, allocations: 4 kB / 392 MB, free: 30.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.2717, allocations: 190 kB / 392.2 MB, free: 30.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2718, allocations: 0 / 392.2 MB, free: 30.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005046/0.2723, allocations: 115.8 kB / 392.3 MB, free: 30.6 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.0001824/0.2725, allocations: 119 kB / 392.4 MB, free: 30.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.2737, allocations: 0.7187 MB / 393.1 MB, free: 29.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2737, allocations: 0.5625 kB / 393.1 MB, free: 29.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.2741, allocations: 254.5 kB / 393.4 MB, free: 29.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2745, allocations: 47.47 kB / 393.4 MB, free: 29.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008431/0.2754, allocations: 0.5505 MB / 394 MB, free: 28.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.2755, allocations: 0.7444 MB / 394.7 MB, free: 28.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.2756, allocations: 23.42 kB / 394.7 MB, free: 28.03 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2756, allocations: 0 / 394.7 MB, free: 28.03 MB / 298.7 MB Notification: Performance of Templates: time 0.005286/0.2809, allocations: 4.148 MB / 398.9 MB, free: 23.89 MB / 298.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/jenkins/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