Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 186.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 103 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009585/0.0009587, allocations: 39.94 kB / 350 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2717, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004164/0.2759, allocations: 2.79 MB / 402.3 MB, free: 30.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2772, allocations: 0.6766 MB / 403 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.2774, allocations: 8 kB / 403 MB, free: 29.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.2776, allocations: 27.77 kB / 403 MB, free: 29.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.2778, allocations: 79.38 kB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.2781, allocations: 83.91 kB / 403.1 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.2784, allocations: 334.6 kB / 403.5 MB, free: 29.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.2786, allocations: 84.98 kB / 403.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2787, allocations: 127.4 kB / 403.7 MB, free: 29.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.2789, allocations: 139.3 kB / 403.8 MB, free: 29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.2789, allocations: 20 kB / 403.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.462e-05/0.279, allocations: 16 kB / 403.9 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.279, allocations: 51.77 kB / 403.9 MB, free: 28.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.2791, allocations: 135.3 kB / 404 MB, free: 28.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.2794, allocations: 312.4 kB / 404.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2794, allocations: 0 / 404.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2794, allocations: 0 / 404.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.2794, allocations: 0 / 404.3 MB, free: 28.48 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.001153/0.2806, allocations: 0.6418 MB / 405 MB, free: 27.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2806, allocations: 12.03 kB / 405 MB, free: 27.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.2807, allocations: 32.56 kB / 405 MB, free: 27.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.281, allocations: 271.7 kB / 405.3 MB, free: 27.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.281, allocations: 20.81 kB / 405.3 MB, free: 27.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.281, allocations: 20.36 kB / 405.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.2816, allocations: 278.1 kB / 405.6 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2816, allocations: 0 / 405.6 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.2817, allocations: 8 kB / 405.6 MB, free: 27.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2817, allocations: 4 kB / 405.6 MB, free: 27.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006471/0.2823, allocations: 253.5 kB / 405.9 MB, free: 26.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.2837, allocations: 0.948 MB / 406.8 MB, free: 25.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008095/0.2845, allocations: 242.5 kB / 407 MB, free: 25.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.2848, allocations: 100.8 kB / 407.1 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.2849, allocations: 4 kB / 407.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005011/0.2854, allocations: 176.3 kB / 407.3 MB, free: 25.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.2854, allocations: 0 / 407.3 MB, free: 25.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002135/0.2875, allocations: 0.6551 MB / 408 MB, free: 24.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.2876, allocations: 102.8 kB / 408.1 MB, free: 24.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.2878, allocations: 266.6 kB / 408.3 MB, free: 24.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2878, allocations: 37.64 kB / 408.4 MB, free: 24.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.288, allocations: 171.8 kB / 408.5 MB, free: 24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.288, allocations: 43.45 kB / 408.6 MB, free: 23.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.2881, allocations: 45.61 kB / 408.6 MB, free: 23.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.2882, allocations: 338.8 kB / 409 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.2885, allocations: 95.92 kB / 409.1 MB, free: 23.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.2889, allocations: 174.4 kB / 409.2 MB, free: 23.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/0.2895, allocations: 267.2 kB / 409.5 MB, free: 22.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2895, allocations: 7.938 kB / 409.5 MB, free: 22.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00108/0.2906, allocations: 431.6 kB / 409.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.2906, allocations: 29.7 kB / 409.9 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2906, allocations: 11.92 kB / 410 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.291, allocations: 76.88 kB / 410 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.2912, allocations: 43.89 kB / 410.1 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.2935, allocations: 1.76 MB / 411.8 MB, free: 20.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.2938, allocations: 51.86 kB / 411.9 MB, free: 20.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.2938, allocations: 8 kB / 411.9 MB, free: 20.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.294, allocations: 146.6 kB / 412 MB, free: 20.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.294, allocations: 23.72 kB / 412.1 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.294, allocations: 21.83 kB / 412.1 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2941, allocations: 8 kB / 412.1 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2941, allocations: 3.938 kB / 412.1 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2941, allocations: 0 / 412.1 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.2943, allocations: 289.5 kB / 412.4 MB, free: 19.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2943, allocations: 4 kB / 412.4 MB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.2944, allocations: 19.97 kB / 412.4 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.2947, allocations: 76.81 kB / 412.5 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2947, allocations: 3.984 kB / 412.5 MB, free: 19.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.2964, allocations: 1.644 MB / 414.1 MB, free: 17.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2964, allocations: 0 / 414.1 MB, free: 17.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.2979, allocations: 1.023 MB / 415.1 MB, free: 16.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.2979, allocations: 104.8 kB / 415.2 MB, free: 16.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.298, allocations: 3.938 kB / 415.2 MB, free: 16.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.2982, allocations: 39.95 kB / 415.3 MB, free: 16.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.2983, allocations: 15.98 kB / 415.3 MB, free: 16.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.2983, allocations: 7.984 kB / 415.3 MB, free: 16.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.2985, allocations: 186 kB / 415.5 MB, free: 16.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2985, allocations: 0 / 415.5 MB, free: 16.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004842/0.299, allocations: 75.84 kB / 415.6 MB, free: 16.46 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001848/0.2992, allocations: 107.2 kB / 415.7 MB, free: 16.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009869/0.3002, allocations: 419.6 kB / 416.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3002, allocations: 4.062 kB / 416.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.3007, allocations: 218.6 kB / 416.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.301, allocations: 48.47 kB / 416.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000969/0.302, allocations: 0.6691 MB / 417 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.3022, allocations: 0.7521 MB / 417.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.3023, allocations: 22.3 kB / 417.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.3024, allocations: 15.44 kB / 417.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3024, allocations: 0 / 417.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Templates: time 0.006175/0.3086, allocations: 3.66 MB / 421.5 MB, free: 10.48 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches