Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 176.5 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.7 MB / 243.2 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008102/0.0008107, allocations: 93.25 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 11.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.235, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002262/0.2373, allocations: 2.344 MB / 406.9 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008446/0.2382, allocations: 0.7182 MB / 407.6 MB, free: 28.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.2383, allocations: 10.69 kB / 407.7 MB, free: 28.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.2384, allocations: 35.75 kB / 407.7 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.2386, allocations: 75.39 kB / 407.8 MB, free: 28.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.2388, allocations: 79.91 kB / 407.8 MB, free: 28.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.2391, allocations: 335.7 kB / 408.2 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2392, allocations: 83.78 kB / 408.3 MB, free: 27.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.2394, allocations: 115.4 kB / 408.4 MB, free: 27.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.2395, allocations: 131.4 kB / 408.5 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.2395, allocations: 16 kB / 408.5 MB, free: 27.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.643e-05/0.2396, allocations: 19.94 kB / 408.5 MB, free: 27.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.2396, allocations: 39.83 kB / 408.6 MB, free: 27.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2397, allocations: 161 kB / 408.7 MB, free: 27.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.24, allocations: 306.4 kB / 409 MB, free: 26.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.24, allocations: 0 / 409 MB, free: 26.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.24, allocations: 0 / 409 MB, free: 26.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.24, allocations: 3.938 kB / 409 MB, free: 26.84 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.0009071/0.2409, allocations: 0.6125 MB / 409.6 MB, free: 26.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.241, allocations: 12.03 kB / 409.7 MB, free: 26.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.241, allocations: 28.56 kB / 409.7 MB, free: 26.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2413, allocations: 287.5 kB / 410 MB, free: 25.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.2413, allocations: 16.81 kB / 410 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.2414, allocations: 16.38 kB / 410 MB, free: 25.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.2419, allocations: 290.1 kB / 410.3 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2419, allocations: 3.984 kB / 410.3 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.2419, allocations: 4 kB / 410.3 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.242, allocations: 4 kB / 410.3 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.2426, allocations: 277.5 kB / 410.6 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.2438, allocations: 0.9755 MB / 411.5 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.2445, allocations: 270.5 kB / 411.8 MB, free: 23.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.2448, allocations: 116.8 kB / 411.9 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.2448, allocations: 4 kB / 411.9 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.2452, allocations: 189.8 kB / 412.1 MB, free: 23.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2453, allocations: 0 / 412.1 MB, free: 23.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001914/0.2472, allocations: 0.7332 MB / 412.8 MB, free: 22.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.2472, allocations: 102.8 kB / 412.9 MB, free: 22.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.2474, allocations: 262.5 kB / 413.2 MB, free: 22.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.2475, allocations: 29.7 kB / 413.2 MB, free: 22.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.2475, allocations: 183.8 kB / 413.4 MB, free: 22.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.2476, allocations: 43.44 kB / 413.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.2476, allocations: 0 / 413.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.2476, allocations: 342.8 kB / 413.8 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.2481, allocations: 111.9 kB / 413.9 MB, free: 21.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.2485, allocations: 184.4 kB / 414.1 MB, free: 21.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.2493, allocations: 300.3 kB / 414.4 MB, free: 21.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2493, allocations: 224 / 414.4 MB, free: 21.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001275/0.2506, allocations: 471.6 kB / 414.8 MB, free: 20.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.2506, allocations: 37.62 kB / 414.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2506, allocations: 4 kB / 414.9 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.251, allocations: 80.86 kB / 414.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.2512, allocations: 47.91 kB / 415 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.2536, allocations: 1.795 MB / 416.8 MB, free: 18.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.2539, allocations: 59.78 kB / 416.8 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.254, allocations: 8.125 kB / 416.9 MB, free: 18.5 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 ($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 (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.0001223/0.2541, allocations: 145.7 kB / 417 MB, free: 18.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.2541, allocations: 27.7 kB / 417 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.2542, allocations: 21.84 kB / 417 MB, free: 18.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2542, allocations: 7.938 kB / 417 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2542, allocations: 7.938 kB / 417.1 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2542, allocations: 3.984 kB / 417.1 MB, free: 18.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.2544, allocations: 289.5 kB / 417.3 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2545, allocations: 4 kB / 417.3 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.2546, allocations: 27.97 kB / 417.4 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002903/0.2549, allocations: 80.8 kB / 417.5 MB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.255, allocations: 4 kB / 417.5 MB, free: 17.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.257, allocations: 1.667 MB / 419.1 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.257, allocations: 0 / 419.1 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.2581, allocations: 401.4 kB / 419.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.2582, allocations: 104.8 kB / 419.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.2582, allocations: 48 / 419.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.2585, allocations: 47.95 kB / 419.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.2586, allocations: 19.97 kB / 419.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2586, allocations: 4 kB / 419.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.2588, allocations: 190 kB / 419.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2588, allocations: 0 / 419.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.2592, allocations: 75.78 kB / 419.9 MB, free: 15.17 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.0001325/0.2593, allocations: 107.2 kB / 420.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.2603, allocations: 442.6 kB / 420.5 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2604, allocations: 0 / 420.5 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.2608, allocations: 246.8 kB / 420.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.2611, allocations: 49.81 kB / 420.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007941/0.2619, allocations: 0.5374 MB / 421.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.2621, allocations: 0.7521 MB / 422.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.2622, allocations: 26.28 kB / 422.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.2622, allocations: 15.44 kB / 422.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2622, allocations: 7.938 kB / 422.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Templates: time 0.006035/0.2683, allocations: 3.48 MB / 425.6 MB, free: 9.449 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/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