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.001575/0.001575, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3567, allocations: 50.55 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004359/0.3611, allocations: 2.758 MB / 412 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3626, allocations: 0.7128 MB / 412.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.3628, allocations: 7.938 kB / 412.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.363, allocations: 43.58 kB / 412.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.3632, allocations: 95.19 kB / 412.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.3636, allocations: 99.81 kB / 413 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.3639, allocations: 354.5 kB / 413.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.3642, allocations: 88.69 kB / 413.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.3643, allocations: 131.5 kB / 413.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.3645, allocations: 155.3 kB / 413.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.3646, allocations: 28 kB / 413.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-05/0.3646, allocations: 32 kB / 413.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.3647, allocations: 55.77 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.3649, allocations: 155.2 kB / 414 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.3652, allocations: 320 kB / 414.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3652, allocations: 7.938 kB / 414.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3652, allocations: 0 / 414.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3653, allocations: 0 / 414.3 MB, free: 12.53 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.00118/0.3664, allocations: 0.6379 MB / 414.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3665, allocations: 12.03 kB / 414.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.3666, allocations: 28.56 kB / 415 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.367, allocations: 275.7 kB / 415.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.367, allocations: 16.81 kB / 415.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.3671, allocations: 20.38 kB / 415.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.3677, allocations: 282 kB / 415.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3677, allocations: 0 / 415.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.3678, allocations: 12 kB / 415.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3678, allocations: 4 kB / 415.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006893/0.3685, allocations: 245.6 kB / 415.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.37, allocations: 0.9363 MB / 416.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/0.3708, allocations: 242.5 kB / 417 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.3712, allocations: 100.8 kB / 417.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3712, allocations: 7.984 kB / 417.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004454/0.3716, allocations: 190 kB / 417.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3717, allocations: 3.938 kB / 417.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002117/0.3738, allocations: 0.6547 MB / 417.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.3739, allocations: 106.8 kB / 418 MB, free: 8.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.3742, allocations: 266.6 kB / 418.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.3742, allocations: 29.7 kB / 418.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3743, allocations: 187.7 kB / 418.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.3744, allocations: 43.44 kB / 418.6 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.3745, allocations: 41.7 kB / 418.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3746, allocations: 342.8 kB / 418.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.375, allocations: 95.86 kB / 419 MB, free: 7.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.3754, allocations: 186.2 kB / 419.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.376, allocations: 300.8 kB / 419.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.376, allocations: 4 kB / 419.5 MB, free: 6.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00111/0.3771, allocations: 439.7 kB / 419.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.3772, allocations: 29.7 kB / 420 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3772, allocations: 4 kB / 420 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/0.3776, allocations: 84.8 kB / 420 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.3778, allocations: 39.97 kB / 420.1 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.3805, allocations: 1.997 MB / 422.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.3808, allocations: 63.7 kB / 422.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.3808, allocations: 12.12 kB / 422.2 MB, free: 4.137 MB / 334.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.0001487/0.381, allocations: 134.9 kB / 422.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.381, allocations: 27.72 kB / 422.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.3811, allocations: 29.77 kB / 422.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3811, allocations: 8 kB / 422.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3811, allocations: 3.938 kB / 422.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3811, allocations: 0 / 422.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.3814, allocations: 301.4 kB / 422.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3814, allocations: 0 / 422.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.3815, allocations: 19.98 kB / 422.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/0.3818, allocations: 76.8 kB / 422.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3818, allocations: 11.92 kB / 422.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/0.3842, allocations: 1.916 MB / 424.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3842, allocations: 7.875 kB / 424.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009488/0.3851, allocations: 353.7 kB / 425 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.3852, allocations: 104.8 kB / 425.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3853, allocations: 12 kB / 425.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.3855, allocations: 31.97 kB / 425.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.3856, allocations: 15.97 kB / 425.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3856, allocations: 4 kB / 425.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.3858, allocations: 198 kB / 425.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3858, allocations: 0 / 425.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.3862, allocations: 67.91 kB / 425.5 MB, free: 0.6016 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.0001663/0.3864, allocations: 103.2 kB / 425.6 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3876, allocations: 481.9 kB / 426 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3876, allocations: 0 / 426 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.3881, allocations: 238.9 kB / 426.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3884, allocations: 52.34 kB / 426.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.3911, allocations: 0.8941 MB / 427.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3915, allocations: 0.7479 MB / 427.9 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.131e-05/0.3916, allocations: 22.33 kB / 428 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.3916, allocations: 27.42 kB / 428 MB, free: 13.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3916, allocations: 4 kB / 428 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Templates: time 0.007208/0.3989, allocations: 3.855 MB / 431.9 MB, free: 10.11 MB / 350.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