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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001123, allocations: 110.9 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 176.5 kB / 18.66 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 47.94 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2278, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003757/0.2316, allocations: 2.758 MB / 404.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2327, allocations: 0.67 MB / 404.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.2329, allocations: 4 kB / 404.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.233, allocations: 39.58 kB / 404.9 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.2332, allocations: 95.19 kB / 405 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.2335, allocations: 95.81 kB / 405.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.2338, allocations: 362.5 kB / 405.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.234, allocations: 72.72 kB / 405.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.2342, allocations: 135.5 kB / 405.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.2344, allocations: 147.4 kB / 405.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.2344, allocations: 35.88 kB / 405.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.222e-05/0.2345, allocations: 36 kB / 405.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.2346, allocations: 59.77 kB / 405.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2347, allocations: 147.3 kB / 406.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.235, allocations: 324 kB / 406.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.235, allocations: 0 / 406.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.235, allocations: 0 / 406.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.235, allocations: 0 / 406.4 MB, free: 3.887 MB / 318.1 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.001165/0.2362, allocations: 0.6418 MB / 407 MB, free: 3.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.2363, allocations: 8.031 kB / 407 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.2363, allocations: 28.66 kB / 407.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.2367, allocations: 279.7 kB / 407.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.2367, allocations: 20.8 kB / 407.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.2368, allocations: 16.38 kB / 407.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.2374, allocations: 282 kB / 407.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2374, allocations: 0 / 407.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.2375, allocations: 15.98 kB / 407.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2375, allocations: 8 kB / 407.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007333/0.2382, allocations: 237.6 kB / 407.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.2397, allocations: 0.9519 MB / 408.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/0.2405, allocations: 238.5 kB / 409.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.2409, allocations: 100.8 kB / 409.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2409, allocations: 8 kB / 409.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004381/0.2413, allocations: 180.5 kB / 409.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2414, allocations: 0 / 409.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002284/0.2436, allocations: 0.6512 MB / 410 MB, free: 12 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.2437, allocations: 110.8 kB / 410.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.244, allocations: 262.6 kB / 410.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.244, allocations: 29.7 kB / 410.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.2442, allocations: 175.8 kB / 410.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.2442, allocations: 39.45 kB / 410.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.2443, allocations: 41.92 kB / 410.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2444, allocations: 342.8 kB / 411 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.2448, allocations: 99.86 kB / 411.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.2452, allocations: 164.5 kB / 411.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.2459, allocations: 272.2 kB / 411.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2459, allocations: 0 / 411.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001165/0.247, allocations: 427.6 kB / 412 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.2471, allocations: 44.5 kB / 412 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2471, allocations: 0 / 412 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.2475, allocations: 84.8 kB / 412.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.2477, allocations: 39.91 kB / 412.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.2502, allocations: 1.958 MB / 414.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.2506, allocations: 47.66 kB / 414.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.2506, allocations: 11.98 kB / 414.1 MB, free: 11.62 MB / 334.1 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.0001392/0.2508, allocations: 145.9 kB / 414.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.2508, allocations: 19.72 kB / 414.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.2509, allocations: 33.77 kB / 414.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2509, allocations: 0 / 414.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2509, allocations: 0 / 414.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2509, allocations: 0 / 414.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.2511, allocations: 285.5 kB / 414.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2512, allocations: 0 / 414.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.2513, allocations: 27.97 kB / 414.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/0.2516, allocations: 76.73 kB / 414.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2516, allocations: 11.94 kB / 414.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.2539, allocations: 1.762 MB / 416.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2539, allocations: 0 / 416.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.255, allocations: 363.7 kB / 416.8 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.2551, allocations: 96.83 kB / 416.9 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.2551, allocations: 7.922 kB / 416.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.2554, allocations: 35.97 kB / 417 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.2555, allocations: 19.97 kB / 417 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.2555, allocations: 4 kB / 417 MB, free: 8.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.2557, allocations: 186 kB / 417.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2557, allocations: 4 kB / 417.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000353/0.256, allocations: 75.83 kB / 417.3 MB, free: 8.254 MB / 334.1 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.0001412/0.2562, allocations: 108 kB / 417.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009699/0.2572, allocations: 413.9 kB / 417.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2572, allocations: 0 / 417.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.2576, allocations: 230.5 kB / 418 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.258, allocations: 60.88 kB / 418.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009554/0.2589, allocations: 472.4 kB / 418.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.2592, allocations: 0.744 MB / 419.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.2593, allocations: 19.44 kB / 419.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2593, allocations: 4 kB / 419.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of Templates: time 0.006509/0.2658, allocations: 4.163 MB / 423.4 MB, free: 1.969 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches