Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000829/0.0008292, allocations: 93.05 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002648, allocations: 8 kB / 307.8 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1321, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004532/0.1367, allocations: 2.45 MB / 361.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1388, allocations: 0.7013 MB / 362.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.1392, allocations: 4 kB / 362.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.1394, allocations: 27.77 kB / 362.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.14, allocations: 79.38 kB / 362.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1404, allocations: 87.91 kB / 362.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006964/0.1412, allocations: 334.6 kB / 363 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.1414, allocations: 77.06 kB / 363 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.1417, allocations: 119.5 kB / 363.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.1421, allocations: 135.3 kB / 363.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/0.1421, allocations: 19.94 kB / 363.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.561e-05/0.1422, allocations: 12 kB / 363.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.1423, allocations: 47.77 kB / 363.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.1425, allocations: 153 kB / 363.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.1429, allocations: 299.1 kB / 363.8 MB, free: 8.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1429, allocations: 8 kB / 363.8 MB, free: 8.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1429, allocations: 0 / 363.8 MB, free: 8.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.143, allocations: 3.938 kB / 363.8 MB, free: 8.734 MB / 302.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.001559/0.1445, allocations: 0.6173 MB / 364.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.1446, allocations: 8.031 kB / 364.4 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.1448, allocations: 32.66 kB / 364.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.1453, allocations: 279.6 kB / 364.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.1454, allocations: 12.81 kB / 364.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.714e-05/0.1454, allocations: 20.38 kB / 364.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007591/0.1462, allocations: 294.1 kB / 365.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1462, allocations: 0 / 365.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.1463, allocations: 11.94 kB / 365.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1463, allocations: 4 kB / 365.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.1471, allocations: 277.6 kB / 365.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1493, allocations: 0.9637 MB / 366.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.1503, allocations: 278.5 kB / 366.6 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.1507, allocations: 108.8 kB / 366.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.1507, allocations: 8 kB / 366.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005833/0.1513, allocations: 197 kB / 366.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1513, allocations: 224 / 366.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002593/0.1539, allocations: 0.7332 MB / 367.6 MB, free: 4.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.154, allocations: 114.8 kB / 367.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.1544, allocations: 270.5 kB / 368 MB, free: 4.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.1544, allocations: 33.7 kB / 368 MB, free: 4.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.1546, allocations: 171.8 kB / 368.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1547, allocations: 51.39 kB / 368.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.1547, allocations: 25.7 kB / 368.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1549, allocations: 338.8 kB / 368.6 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.1553, allocations: 115.9 kB / 368.7 MB, free: 3.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.1558, allocations: 191.3 kB / 368.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007647/0.1565, allocations: 316.6 kB / 369.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.1566, allocations: 0 / 369.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00137/0.1579, allocations: 483.6 kB / 369.7 MB, free: 2.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.158, allocations: 37.7 kB / 369.7 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.158, allocations: 0 / 369.7 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.1585, allocations: 84.86 kB / 369.8 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1587, allocations: 51.91 kB / 369.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.1617, allocations: 1.877 MB / 371.7 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.1621, allocations: 59.86 kB / 371.8 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1621, allocations: 8 kB / 371.8 MB, free: 208 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001982/0.1623, allocations: 142.4 kB / 371.9 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.1624, allocations: 23.72 kB / 372 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.1624, allocations: 25.83 kB / 372 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1624, allocations: 0 / 372 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1624, allocations: 7.938 kB / 372 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1624, allocations: 3.984 kB / 372 MB, free: 0 / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.232/0.3944, allocations: 285.8 kB / 372.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3945, allocations: 1.156 kB / 372.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3947, allocations: 27.81 kB / 372.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003316/0.395, allocations: 84.77 kB / 372.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.395, allocations: 3.703 kB / 372.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.3972, allocations: 1.766 MB / 374.2 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3972, allocations: 1.062 kB / 374.2 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.3984, allocations: 401.4 kB / 374.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.3984, allocations: 109.2 kB / 374.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.3985, allocations: 6.703 kB / 374.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.3988, allocations: 43.31 kB / 374.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.3989, allocations: 20.97 kB / 374.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3989, allocations: 3.281 kB / 374.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.3991, allocations: 192.7 kB / 374.9 MB, free: 17.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3991, allocations: 0 / 374.9 MB, free: 17.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000432/0.3995, allocations: 72.69 kB / 375 MB, free: 17.72 MB / 302.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.000134/0.3997, allocations: 107.2 kB / 375.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.401, allocations: 0.5104 MB / 375.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.401, allocations: 0 / 375.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.4015, allocations: 246.8 kB / 375.8 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.4019, allocations: 50.09 kB / 375.9 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.4051, allocations: 1.073 MB / 377 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.4053, allocations: 0.7474 MB / 377.7 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.4054, allocations: 23.64 kB / 377.7 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.4055, allocations: 19.83 kB / 377.8 MB, free: 16.31 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4055, allocations: 0 / 377.8 MB, free: 16.31 MB / 302.1 MB Notification: Performance of Templates: time 0.008073/0.4136, allocations: 3.427 MB / 381.2 MB, free: 16.13 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches