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.001499/0.001499, allocations: 114.9 kB / 17.75 MB, free: 5.305 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.001393/0.001393, allocations: 188.4 kB / 18.67 MB, free: 4.391 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009857/0.0009857, allocations: 43.94 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2371, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003725/0.2409, allocations: 2.768 MB / 404.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.242, allocations: 0.67 MB / 404.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.2422, allocations: 4 kB / 404.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2424, allocations: 39.58 kB / 404.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.2426, allocations: 99.19 kB / 405 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.2429, allocations: 91.81 kB / 405.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.2432, allocations: 366.5 kB / 405.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.2434, allocations: 80.7 kB / 405.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.2436, allocations: 131.5 kB / 405.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2437, allocations: 151.4 kB / 405.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.2438, allocations: 28 kB / 405.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.439e-05/0.2438, allocations: 28 kB / 405.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.2439, allocations: 67.7 kB / 405.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.244, allocations: 143.3 kB / 406.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.2444, allocations: 323.9 kB / 406.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.2444, allocations: 4 kB / 406.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2444, allocations: 0 / 406.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.2444, allocations: 0 / 406.4 MB, free: 3.898 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.001188/0.2456, allocations: 0.6379 MB / 407 MB, free: 3.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2457, allocations: 12.03 kB / 407.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.2458, allocations: 32.59 kB / 407.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.2461, allocations: 275.7 kB / 407.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.2462, allocations: 16.81 kB / 407.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.2462, allocations: 24.38 kB / 407.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.2468, allocations: 278 kB / 407.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2469, allocations: 0 / 407.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.2469, allocations: 12 kB / 407.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2469, allocations: 4 kB / 407.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.2477, allocations: 241.6 kB / 407.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.2493, allocations: 0.9557 MB / 408.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.2501, allocations: 238.5 kB / 409.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.2505, allocations: 104.8 kB / 409.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.2505, allocations: 3.984 kB / 409.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.251, allocations: 181.7 kB / 409.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.963e-06/0.251, allocations: 4 kB / 409.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.00234/0.2533, allocations: 0.6512 MB / 410 MB, free: 16 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/0.2534, allocations: 106.8 kB / 410.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.2537, allocations: 258.6 kB / 410.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.2537, allocations: 37.7 kB / 410.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.2539, allocations: 175.8 kB / 410.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.254, allocations: 39.45 kB / 410.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/0.2541, allocations: 41.7 kB / 410.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2542, allocations: 338.8 kB / 411 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.2546, allocations: 100.1 kB / 411.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.255, allocations: 160.5 kB / 411.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.2557, allocations: 280.2 kB / 411.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2557, allocations: 0 / 411.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001479/0.2572, allocations: 427.6 kB / 412 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.2572, allocations: 44.34 kB / 412 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2572, allocations: 0 / 412 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.2576, allocations: 76.86 kB / 412.1 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.2578, allocations: 43.91 kB / 412.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.2604, allocations: 1.951 MB / 414.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.2608, allocations: 47.81 kB / 414.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.2608, allocations: 19.98 kB / 414.1 MB, free: 11.63 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.0001426/0.261, allocations: 133.8 kB / 414.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.261, allocations: 23.72 kB / 414.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.2611, allocations: 37.83 kB / 414.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2611, allocations: 0 / 414.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2611, allocations: 0 / 414.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2611, allocations: 0 / 414.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.2613, allocations: 289.5 kB / 414.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2614, allocations: 0 / 414.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2615, allocations: 27.97 kB / 414.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.2618, allocations: 76.73 kB / 414.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2618, allocations: 7.938 kB / 414.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.264, allocations: 1.754 MB / 416.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2641, allocations: 11.95 kB / 416.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.2651, allocations: 353.5 kB / 416.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.2652, allocations: 104.8 kB / 416.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.2652, allocations: 11.88 kB / 417 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.2655, allocations: 35.97 kB / 417 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.2656, allocations: 19.97 kB / 417 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2656, allocations: 4 kB / 417 MB, free: 8.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.2658, allocations: 190 kB / 417.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2658, allocations: 0 / 417.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.2662, allocations: 75.84 kB / 417.3 MB, free: 8.258 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.0001343/0.2663, allocations: 104 kB / 417.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009742/0.2673, allocations: 416.1 kB / 417.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2673, allocations: 4.062 kB / 417.8 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004764/0.2678, allocations: 230.5 kB / 418 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.2681, allocations: 42.03 kB / 418 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000943/0.2691, allocations: 477 kB / 418.5 MB, free: 6.938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.2694, allocations: 0.744 MB / 419.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.2694, allocations: 19.44 kB / 419.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2695, allocations: 0 / 419.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of Templates: time 0.005963/0.2754, allocations: 4.173 MB / 423.4 MB, free: 1.984 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