Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 175.9 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008328/0.0008326, allocations: 88.03 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003187, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004389/0.3317, allocations: 2.313 MB / 378.9 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.3339, allocations: 0.774 MB / 379.7 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003877/0.3344, allocations: 3.406 kB / 379.7 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.3346, allocations: 31.2 kB / 379.7 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.3351, allocations: 80 kB / 379.8 MB, free: 43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.3355, allocations: 90.78 kB / 379.9 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007098/0.3362, allocations: 329.1 kB / 380.2 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.3366, allocations: 71.89 kB / 380.3 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.3369, allocations: 111.5 kB / 380.4 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.3373, allocations: 140.7 kB / 380.5 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.863e-05/0.3374, allocations: 18.38 kB / 380.6 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3375, allocations: 15.47 kB / 380.6 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.3376, allocations: 49.8 kB / 380.6 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.3378, allocations: 157.6 kB / 380.8 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.3383, allocations: 304.1 kB / 381.1 MB, free: 42.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.3383, allocations: 0 / 381.1 MB, free: 42.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3383, allocations: 0 / 381.1 MB, free: 42.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.3383, allocations: 1.188 kB / 381.1 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.001724/0.34, allocations: 0.6139 MB / 381.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.3401, allocations: 9.469 kB / 381.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3403, allocations: 32 kB / 381.7 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.3409, allocations: 277 kB / 382 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.3409, allocations: 12.31 kB / 382 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.341, allocations: 22.94 kB / 382 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.342, allocations: 266.1 kB / 382.3 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.342, allocations: 0 / 382.3 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.3421, allocations: 9.344 kB / 382.3 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.3421, allocations: 5.219 kB / 382.3 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3433, allocations: 271.5 kB / 382.6 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.3456, allocations: 0.9008 MB / 383.5 MB, free: 40.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.3468, allocations: 278.3 kB / 383.7 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.3473, allocations: 115.1 kB / 383.9 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.3474, allocations: 1.312 kB / 383.9 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007398/0.3481, allocations: 192.5 kB / 384 MB, free: 39.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 3.747e-06/0.3481, allocations: 0 / 384 MB, free: 39.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.004198/0.3523, allocations: 0.7575 MB / 384.8 MB, free: 39.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.3524, allocations: 109.8 kB / 384.9 MB, free: 39.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006253/0.3531, allocations: 264 kB / 385.2 MB, free: 39.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.3531, allocations: 30.77 kB / 385.2 MB, free: 39.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.3533, allocations: 175.5 kB / 385.4 MB, free: 39.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.3534, allocations: 36.86 kB / 385.4 MB, free: 39.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.3534, allocations: 4.969 kB / 385.4 MB, free: 39.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.3535, allocations: 335.3 kB / 385.7 MB, free: 38.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.3541, allocations: 113.8 kB / 385.9 MB, free: 38.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.3548, allocations: 173.6 kB / 386 MB, free: 38.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3558, allocations: 293.9 kB / 386.3 MB, free: 38.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3559, allocations: 0 / 386.3 MB, free: 38.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00175/0.3576, allocations: 479 kB / 386.8 MB, free: 37.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.3578, allocations: 163.9 kB / 386.9 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3578, allocations: 0 / 386.9 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.3583, allocations: 84.8 kB / 387 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.3586, allocations: 47.91 kB / 387.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.3615, allocations: 1.807 MB / 388.9 MB, free: 35.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.362, allocations: 59.89 kB / 388.9 MB, free: 35.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.362, allocations: 8 kB / 388.9 MB, free: 35.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.362, allocations: 4 kB / 388.9 MB, free: 35.6 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008983/0.3629, allocations: 314.1 kB / 389.2 MB, free: 35.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.363, allocations: 8.031 kB / 389.3 MB, free: 35.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.712e-05/0.3631, allocations: 24.84 kB / 389.3 MB, free: 35.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.3633, allocations: 43.97 kB / 389.3 MB, free: 35.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.3644, allocations: 1.44 MB / 390.8 MB, free: 33.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.3648, allocations: 43.88 kB / 390.8 MB, free: 33.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3648, allocations: 19.81 kB / 390.8 MB, free: 33.57 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 (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.0001857/0.365, allocations: 213.3 kB / 391 MB, free: 33.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.3651, allocations: 19.72 kB / 391.1 MB, free: 33.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.3652, allocations: 29.83 kB / 391.1 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3652, allocations: 0 / 391.1 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3652, allocations: 0 / 391.1 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3652, allocations: 3.938 kB / 391.1 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.3655, allocations: 297.4 kB / 391.4 MB, free: 32.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3655, allocations: 0 / 391.4 MB, free: 32.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.3657, allocations: 31.92 kB / 391.4 MB, free: 32.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000376/0.3661, allocations: 80.8 kB / 391.5 MB, free: 32.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.3662, allocations: 0 / 391.5 MB, free: 32.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/0.369, allocations: 1.667 MB / 393.2 MB, free: 31.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.369, allocations: 0 / 393.2 MB, free: 31.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.3706, allocations: 405.9 kB / 393.6 MB, free: 30.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.3707, allocations: 96.77 kB / 393.6 MB, free: 30.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.3708, allocations: 8 kB / 393.7 MB, free: 30.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.3711, allocations: 35.95 kB / 393.7 MB, free: 30.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.3713, allocations: 27.97 kB / 393.7 MB, free: 30.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3713, allocations: 4 kB / 393.7 MB, free: 30.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002141/0.3715, allocations: 186 kB / 393.9 MB, free: 30.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3715, allocations: 0 / 393.9 MB, free: 30.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008248/0.3723, allocations: 123.7 kB / 394 MB, free: 30.14 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.0001599/0.3725, allocations: 111.2 kB / 394.1 MB, free: 30.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.3746, allocations: 0.7189 MB / 394.8 MB, free: 29.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3746, allocations: 4 kB / 394.9 MB, free: 29.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006979/0.3753, allocations: 254.8 kB / 395.1 MB, free: 28.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.3758, allocations: 46.84 kB / 395.1 MB, free: 28.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.3773, allocations: 0.5605 MB / 395.7 MB, free: 28.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3775, allocations: 0.7483 MB / 396.5 MB, free: 27.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.3777, allocations: 26.28 kB / 396.5 MB, free: 27.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.3778, allocations: 23.38 kB / 396.5 MB, free: 27.54 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3778, allocations: 0 / 396.5 MB, free: 27.54 MB / 298.7 MB Notification: Performance of Templates: time 0.009124/0.387, allocations: 3.812 MB / 400.3 MB, free: 23.75 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches