Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 214.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2406, allocations: 50.52 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003648/0.2443, allocations: 2.776 MB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2454, allocations: 0.7128 MB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.2455, allocations: 4 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.2457, allocations: 43.58 kB / 413.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.2459, allocations: 87.25 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.2461, allocations: 95.83 kB / 413.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.2465, allocations: 358.5 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.2467, allocations: 84.69 kB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.2468, allocations: 135.4 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.247, allocations: 151.3 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.2471, allocations: 28 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.2471, allocations: 28 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.2472, allocations: 67.81 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.2473, allocations: 147.2 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.2476, allocations: 324 kB / 415 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2476, allocations: 4 kB / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2476, allocations: 0 / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2476, allocations: 0 / 415 MB, free: 12.56 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.001142/0.2488, allocations: 0.634 MB / 415.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2488, allocations: 8.031 kB / 415.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.139e-05/0.2489, allocations: 36.56 kB / 415.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.2493, allocations: 279.7 kB / 415.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2493, allocations: 12.81 kB / 415.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.2493, allocations: 24.36 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.2499, allocations: 278.1 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.25, allocations: 0 / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.25, allocations: 8 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.25, allocations: 8 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007136/0.2507, allocations: 241.5 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.2521, allocations: 0.948 MB / 417.4 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008009/0.253, allocations: 238.5 kB / 417.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.2533, allocations: 100.8 kB / 417.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2533, allocations: 12.2 kB / 417.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.2538, allocations: 181.7 kB / 417.9 MB, free: 9.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.2538, allocations: 0 / 417.9 MB, free: 9.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002299/0.2561, allocations: 0.6473 MB / 418.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.2562, allocations: 114.8 kB / 418.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.2564, allocations: 266.6 kB / 419 MB, free: 8.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.2564, allocations: 29.64 kB / 419 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2565, allocations: 179.8 kB / 419.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.2566, allocations: 35.45 kB / 419.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.2567, allocations: 53.55 kB / 419.3 MB, free: 7.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2568, allocations: 330.8 kB / 419.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.2571, allocations: 107.9 kB / 419.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.2575, allocations: 167.6 kB / 419.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.2582, allocations: 271.2 kB / 420.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2582, allocations: 0 / 420.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001172/0.2594, allocations: 435.6 kB / 420.5 MB, free: 6.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.2594, allocations: 33.7 kB / 420.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2594, allocations: 0 / 420.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.2598, allocations: 80.86 kB / 420.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.26, allocations: 39.91 kB / 420.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.2625, allocations: 1.947 MB / 422.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.2629, allocations: 59.67 kB / 422.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2629, allocations: 4 kB / 422.7 MB, free: 4.312 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.0001492/0.263, allocations: 149.8 kB / 422.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.2631, allocations: 23.7 kB / 422.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.2632, allocations: 29.78 kB / 422.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2632, allocations: 0 / 422.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.2632, allocations: 4.125 kB / 422.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2632, allocations: 3.984 kB / 422.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.2635, allocations: 293.5 kB / 423.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2635, allocations: 0 / 423.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.2636, allocations: 23.97 kB / 423.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.2639, allocations: 76.8 kB / 423.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2639, allocations: 7.938 kB / 423.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.2661, allocations: 1.754 MB / 425.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2661, allocations: 0 / 425.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.2672, allocations: 364.8 kB / 425.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.2673, allocations: 100.8 kB / 425.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.2673, allocations: 7.938 kB / 425.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.2676, allocations: 35.95 kB / 425.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.2677, allocations: 19.97 kB / 425.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.2677, allocations: 8 kB / 425.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.2679, allocations: 189.9 kB / 425.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2679, allocations: 0 / 425.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.2683, allocations: 71.84 kB / 425.8 MB, free: 0.9375 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.0001439/0.2684, allocations: 110.6 kB / 425.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009836/0.2694, allocations: 406 kB / 426.3 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2694, allocations: 3.938 kB / 426.3 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.2699, allocations: 234.5 kB / 426.6 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.2702, allocations: 44.84 kB / 426.6 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009994/0.2712, allocations: 477 kB / 427.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2715, allocations: 0.748 MB / 427.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.2716, allocations: 27.38 kB / 427.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2716, allocations: 0 / 427.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of Templates: time 0.006211/0.2778, allocations: 4.167 MB / 432 MB, free: 10.65 MB / 350.1 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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches