Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 359.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2516, allocations: 50.55 MB / 410.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005115/0.2567, allocations: 2.788 MB / 413 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2582, allocations: 0.7011 MB / 413.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.2583, allocations: 4 kB / 413.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.2585, allocations: 43.56 kB / 413.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.2587, allocations: 99.19 kB / 413.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.2589, allocations: 87.83 kB / 414 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.2593, allocations: 362.5 kB / 414.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.2596, allocations: 56.72 kB / 414.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.2598, allocations: 143.5 kB / 414.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.26, allocations: 143.4 kB / 414.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.26, allocations: 28 kB / 414.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.776e-05/0.2601, allocations: 32 kB / 414.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.2601, allocations: 63.7 kB / 414.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.2603, allocations: 151.2 kB / 414.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.2607, allocations: 322.7 kB / 415.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2607, allocations: 0 / 415.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2607, allocations: 0 / 415.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.2607, allocations: 0 / 415.2 MB, free: 12.38 MB / 334.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.001275/0.2619, allocations: 0.6494 MB / 415.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.262, allocations: 16.03 kB / 415.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.2621, allocations: 28.75 kB / 415.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.2625, allocations: 279.8 kB / 416.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.2625, allocations: 20.81 kB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.2626, allocations: 24.31 kB / 416.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.2633, allocations: 282 kB / 416.5 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2633, allocations: 0 / 416.5 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.2633, allocations: 8 kB / 416.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2633, allocations: 4 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.2641, allocations: 245.6 kB / 416.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.2658, allocations: 0.9444 MB / 417.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008658/0.2667, allocations: 230.5 kB / 417.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.267, allocations: 96.78 kB / 418 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.267, allocations: 7.984 kB / 418 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00057/0.2676, allocations: 185.7 kB / 418.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2676, allocations: 0 / 418.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002493/0.2701, allocations: 0.6474 MB / 418.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.2702, allocations: 110.8 kB / 419 MB, free: 8.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.2705, allocations: 266.6 kB / 419.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.2705, allocations: 29.7 kB / 419.3 MB, free: 8.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.2707, allocations: 176.2 kB / 419.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.2707, allocations: 43.62 kB / 419.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.2708, allocations: 45.66 kB / 419.5 MB, free: 7.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.271, allocations: 342.8 kB / 419.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.2713, allocations: 95.92 kB / 420 MB, free: 7.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.2717, allocations: 164.5 kB / 420.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000772/0.2725, allocations: 276.3 kB / 420.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2725, allocations: 0 / 420.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001359/0.2739, allocations: 439 kB / 420.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.2739, allocations: 29.92 kB / 420.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2739, allocations: 4 kB / 420.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.2743, allocations: 80.67 kB / 420.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.2745, allocations: 44.03 kB / 421 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.2775, allocations: 1.955 MB / 422.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.2779, allocations: 55.84 kB / 423 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.2779, allocations: 8 kB / 423 MB, free: 4.109 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.0001718/0.2781, allocations: 141.1 kB / 423.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.2781, allocations: 23.86 kB / 423.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.2782, allocations: 33.77 kB / 423.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2782, allocations: 0 / 423.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2782, allocations: 0 / 423.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2782, allocations: 0 / 423.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.2785, allocations: 297.4 kB / 423.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2785, allocations: 4 kB / 423.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.2787, allocations: 15.98 kB / 423.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000303/0.279, allocations: 76.73 kB / 423.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.279, allocations: 15.92 kB / 423.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.2814, allocations: 1.759 MB / 425.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2814, allocations: 0 / 425.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.2825, allocations: 361.1 kB / 425.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.2826, allocations: 101 kB / 425.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.2827, allocations: 7.938 kB / 425.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.2829, allocations: 35.95 kB / 425.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.283, allocations: 15.98 kB / 425.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.283, allocations: 3.984 kB / 425.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003145/0.2834, allocations: 194 kB / 426 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2834, allocations: 0 / 426 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004/0.2838, allocations: 71.89 kB / 426.1 MB, free: 0.7461 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.0001818/0.2839, allocations: 104.5 kB / 426.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.2851, allocations: 409.7 kB / 426.6 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2851, allocations: 0 / 426.6 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005125/0.2856, allocations: 227 kB / 426.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2859, allocations: 40.53 kB / 426.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.287, allocations: 459 kB / 427.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.2874, allocations: 0.7479 MB / 428.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.728e-05/0.2875, allocations: 26.28 kB / 428.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.2876, allocations: 23.42 kB / 428.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2876, allocations: 0 / 428.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of Templates: time 0.008793/0.2963, allocations: 3.914 MB / 432 MB, free: 10.76 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches