Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008888/0.0008892, allocations: 95.47 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003024, allocations: 8 kB / 360.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2655, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002409/0.2679, allocations: 2.359 MB / 414.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2692, allocations: 0.9088 MB / 415.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.2694, allocations: 7.938 kB / 415.3 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2695, allocations: 27.77 kB / 415.4 MB, free: 22.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.2697, allocations: 79.39 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.27, allocations: 83.41 kB / 415.5 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.2703, allocations: 338.5 kB / 415.9 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.2706, allocations: 73.12 kB / 415.9 MB, free: 21.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.2707, allocations: 111.5 kB / 416 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.2709, allocations: 139.3 kB / 416.2 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.271, allocations: 16 kB / 416.2 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.271, allocations: 20 kB / 416.2 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.2711, allocations: 43.77 kB / 416.2 MB, free: 21.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.2712, allocations: 157 kB / 416.4 MB, free: 21.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.2715, allocations: 296.4 kB / 416.7 MB, free: 21.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2715, allocations: 11.88 kB / 416.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2716, allocations: 0 / 416.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2716, allocations: 0 / 416.7 MB, free: 21.18 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.001098/0.2727, allocations: 0.6069 MB / 417.3 MB, free: 20.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2727, allocations: 12.03 kB / 417.3 MB, free: 20.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.2728, allocations: 32.56 kB / 417.4 MB, free: 20.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.2731, allocations: 287.6 kB / 417.6 MB, free: 20.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.2731, allocations: 12.81 kB / 417.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.2732, allocations: 20.38 kB / 417.7 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.2738, allocations: 294.1 kB / 418 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2738, allocations: 3.938 kB / 418 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2738, allocations: 4 kB / 418 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2738, allocations: 8 kB / 418 MB, free: 19.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006525/0.2745, allocations: 273.6 kB / 418.2 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.2759, allocations: 0.9677 MB / 419.2 MB, free: 18.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.2766, allocations: 278.5 kB / 419.5 MB, free: 18.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.2769, allocations: 112.8 kB / 419.6 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.277, allocations: 4 kB / 419.6 MB, free: 18.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.2774, allocations: 194 kB / 419.8 MB, free: 17.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.2774, allocations: 3.938 kB / 419.8 MB, free: 17.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002043/0.2795, allocations: 0.7297 MB / 420.5 MB, free: 17.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.2795, allocations: 110.7 kB / 420.6 MB, free: 17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.2798, allocations: 262.5 kB / 420.9 MB, free: 16.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.2798, allocations: 37.69 kB / 420.9 MB, free: 16.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.2799, allocations: 179.8 kB / 421.1 MB, free: 16.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.2799, allocations: 35.45 kB / 421.1 MB, free: 16.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.2799, allocations: 8 kB / 421.1 MB, free: 16.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.28, allocations: 334.8 kB / 421.5 MB, free: 16.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.2803, allocations: 111.9 kB / 421.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.2806, allocations: 190.5 kB / 421.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.2812, allocations: 297.6 kB / 422 MB, free: 15.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2812, allocations: 0 / 422 MB, free: 15.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001007/0.2823, allocations: 479.5 kB / 422.5 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.2823, allocations: 29.7 kB / 422.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2823, allocations: 4 kB / 422.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003657/0.2827, allocations: 84.86 kB / 422.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.2829, allocations: 43.91 kB / 422.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.285, allocations: 1.791 MB / 424.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.2854, allocations: 59.91 kB / 424.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.2854, allocations: 16 kB / 424.5 MB, free: 12.83 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.0001502/0.2856, allocations: 145.6 kB / 424.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.2856, allocations: 23.72 kB / 424.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.2856, allocations: 25.83 kB / 424.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2857, allocations: 4 kB / 424.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2857, allocations: 7.938 kB / 424.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2857, allocations: 0 / 424.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.2859, allocations: 289.5 kB / 425 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2859, allocations: 0 / 425 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.286, allocations: 31.97 kB / 425.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002475/0.2863, allocations: 76.8 kB / 425.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.2863, allocations: 8 kB / 425.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.288, allocations: 1.667 MB / 426.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.288, allocations: 0 / 426.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009399/0.289, allocations: 401.6 kB / 427.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.289, allocations: 100.8 kB / 427.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.2891, allocations: 7.938 kB / 427.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.2893, allocations: 43.95 kB / 427.3 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.2894, allocations: 19.92 kB / 427.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.2894, allocations: 11.98 kB / 427.4 MB, free: 9.758 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.2896, allocations: 186 kB / 427.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2896, allocations: 0 / 427.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003215/0.2899, allocations: 71.78 kB / 427.6 MB, free: 9.508 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.0001406/0.29, allocations: 111.2 kB / 427.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000832/0.2909, allocations: 434 kB / 428.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2909, allocations: 0 / 428.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.2913, allocations: 246.8 kB / 428.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.2916, allocations: 52.33 kB / 428.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008495/0.2925, allocations: 0.5471 MB / 429 MB, free: 8.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.2927, allocations: 0.7482 MB / 429.7 MB, free: 7.289 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.2928, allocations: 22.3 kB / 429.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.2928, allocations: 15.44 kB / 429.8 MB, free: 7.254 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2929, allocations: 0 / 429.8 MB, free: 7.254 MB / 298.7 MB Notification: Performance of Templates: time 0.006111/0.299, allocations: 3.483 MB / 433.3 MB, free: 3.785 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches