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.InvertingSchmittTrigger.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.InvertingSchmittTrigger,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.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,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.InvertingSchmittTrigger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001709/0.001709, allocations: 176 kB / 17.36 MB, free: 4.445 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.735/1.735, allocations: 205.6 MB / 223.7 MB, free: 8.938 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.0007525/0.0007526, allocations: 98.52 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002802, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2625, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003037/0.2656, allocations: 2.318 MB / 378.9 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2672, allocations: 0.769 MB / 379.7 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.2675, allocations: 8.281 kB / 379.7 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.2677, allocations: 31.17 kB / 379.7 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.2681, allocations: 79.97 kB / 379.8 MB, free: 43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.2685, allocations: 83.56 kB / 379.9 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004876/0.269, allocations: 332.8 kB / 380.2 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.2692, allocations: 74.77 kB / 380.3 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.2694, allocations: 117.9 kB / 380.4 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.2697, allocations: 135.4 kB / 380.5 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.2697, allocations: 15.41 kB / 380.6 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.668e-05/0.2698, allocations: 15.19 kB / 380.6 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.2699, allocations: 53.77 kB / 380.6 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.2701, allocations: 151.8 kB / 380.8 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.2705, allocations: 306.1 kB / 381.1 MB, free: 42.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2705, allocations: 0 / 381.1 MB, free: 42.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2705, allocations: 4 kB / 381.1 MB, free: 42.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.2705, allocations: 1.031 kB / 381.1 MB, free: 42.15 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.001397/0.2719, allocations: 0.6118 MB / 381.7 MB, free: 41.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.272, allocations: 10.25 kB / 381.7 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.2721, allocations: 30.69 kB / 381.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.2725, allocations: 281.9 kB / 382 MB, free: 41.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.2725, allocations: 20.75 kB / 382 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.2726, allocations: 17.5 kB / 382 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.2733, allocations: 262.8 kB / 382.3 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2733, allocations: 4 kB / 382.3 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.2733, allocations: 6.219 kB / 382.3 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.2733, allocations: 4.5 kB / 382.3 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007498/0.2741, allocations: 271.9 kB / 382.6 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.2757, allocations: 0.8996 MB / 383.5 MB, free: 40.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008812/0.2766, allocations: 279 kB / 383.8 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.277, allocations: 118.9 kB / 383.9 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.277, allocations: 5.203 kB / 383.9 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005278/0.2775, allocations: 195.5 kB / 384.1 MB, free: 39.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.2775, allocations: 0 / 384.1 MB, free: 39.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002427/0.28, allocations: 0.7583 MB / 384.8 MB, free: 39.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.28, allocations: 105.6 kB / 384.9 MB, free: 39.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.2804, allocations: 267.1 kB / 385.2 MB, free: 39.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2804, allocations: 30.86 kB / 385.2 MB, free: 39.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2805, allocations: 179 kB / 385.4 MB, free: 39.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.2806, allocations: 37.39 kB / 385.4 MB, free: 39.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.2806, allocations: 5.219 kB / 385.4 MB, free: 39.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.2807, allocations: 344 kB / 385.8 MB, free: 38.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.281, allocations: 110.6 kB / 385.9 MB, free: 38.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.2814, allocations: 188.8 kB / 386.1 MB, free: 38.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.2821, allocations: 306.2 kB / 386.4 MB, free: 38.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.2821, allocations: 0 / 386.4 MB, free: 38.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001201/0.2833, allocations: 499.1 kB / 386.8 MB, free: 37.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.2834, allocations: 177.5 kB / 387 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2834, allocations: 4 kB / 387 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003772/0.2838, allocations: 84.8 kB / 387.1 MB, free: 37.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.284, allocations: 47.91 kB / 387.2 MB, free: 37.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.2862, allocations: 1.861 MB / 389 MB, free: 35.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.2865, allocations: 63.8 kB / 389.1 MB, free: 35.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.2866, allocations: 8.125 kB / 389.1 MB, free: 35.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.2866, allocations: 4 kB / 389.1 MB, free: 35.45 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006055/0.2872, allocations: 318 kB / 389.4 MB, free: 35.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2872, allocations: 8.453 kB / 389.4 MB, free: 35.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.364e-05/0.2873, allocations: 24.86 kB / 389.4 MB, free: 35.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.2875, allocations: 55.83 kB / 389.5 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005845/0.2881, allocations: 1.304 MB / 390.8 MB, free: 33.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.2884, allocations: 47.84 kB / 390.8 MB, free: 33.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.2884, allocations: 16.05 kB / 390.9 MB, free: 33.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001462/0.2885, allocations: 213.1 kB / 391.1 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.2886, allocations: 27.66 kB / 391.1 MB, free: 33.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.2886, allocations: 25.83 kB / 391.1 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2886, allocations: 7.938 kB / 391.1 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2886, allocations: 0 / 391.1 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2887, allocations: 0 / 391.1 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.2889, allocations: 285.4 kB / 391.4 MB, free: 32.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2889, allocations: 3.938 kB / 391.4 MB, free: 32.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.289, allocations: 39.97 kB / 391.4 MB, free: 32.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.2893, allocations: 76.8 kB / 391.5 MB, free: 32.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2893, allocations: 8 kB / 391.5 MB, free: 32.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.2911, allocations: 1.756 MB / 393.3 MB, free: 30.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2911, allocations: 3.938 kB / 393.3 MB, free: 30.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009318/0.292, allocations: 405.9 kB / 393.7 MB, free: 30.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.2921, allocations: 100.8 kB / 393.8 MB, free: 30.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.2921, allocations: 4 kB / 393.8 MB, free: 30.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.2924, allocations: 35.97 kB / 393.8 MB, free: 30.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.2925, allocations: 19.97 kB / 393.8 MB, free: 30.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2925, allocations: 8 kB / 393.8 MB, free: 30.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.2927, allocations: 194 kB / 394 MB, free: 30.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2927, allocations: 0 / 394 MB, free: 30.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.2933, allocations: 115.8 kB / 394.1 MB, free: 30.01 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.0001464/0.2934, allocations: 115.1 kB / 394.3 MB, free: 29.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.295, allocations: 0.8088 MB / 395.1 MB, free: 29.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2951, allocations: 7.875 kB / 395.1 MB, free: 29.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.2955, allocations: 254.9 kB / 395.3 MB, free: 28.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.2958, allocations: 42.86 kB / 395.4 MB, free: 28.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.2985, allocations: 1.072 MB / 396.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2988, allocations: 0.7482 MB / 397.2 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.299, allocations: 30.28 kB / 397.2 MB, free: 26.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.2991, allocations: 15.44 kB / 397.2 MB, free: 26.8 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2991, allocations: 4 kB / 397.2 MB, free: 26.8 MB / 298.7 MB Notification: Performance of Templates: time 0.007562/0.3066, allocations: 3.783 MB / 401 MB, free: 23.04 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches