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.00108/0.001079, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 59.28 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1102, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004466/0.1147, allocations: 2.773 MB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1162, allocations: 0.7167 MB / 362.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.1163, allocations: 4 kB / 362.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.1165, allocations: 43.56 kB / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1167, allocations: 87.2 kB / 362.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.117, allocations: 95.81 kB / 362.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.1175, allocations: 358.5 kB / 363 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1177, allocations: 86.33 kB / 363 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.1179, allocations: 135.4 kB / 363.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.1181, allocations: 147.4 kB / 363.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.1181, allocations: 28 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.895e-05/0.1182, allocations: 32 kB / 363.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.1183, allocations: 63.75 kB / 363.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.1184, allocations: 151.2 kB / 363.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.1188, allocations: 326.8 kB / 363.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1188, allocations: 0 / 363.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1188, allocations: 0 / 363.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1188, allocations: 0 / 363.9 MB, free: 8.285 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.001305/0.1201, allocations: 0.6379 MB / 364.6 MB, free: 7.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1202, allocations: 16.02 kB / 364.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.1203, allocations: 28.56 kB / 364.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.1207, allocations: 283.6 kB / 364.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1207, allocations: 16.81 kB / 364.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.1208, allocations: 24.38 kB / 364.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.1214, allocations: 274.1 kB / 365.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1214, allocations: 4 kB / 365.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.1214, allocations: 12 kB / 365.2 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1214, allocations: 4 kB / 365.2 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007144/0.1222, allocations: 249.5 kB / 365.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1238, allocations: 0.9403 MB / 366.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/0.1246, allocations: 242.5 kB / 366.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.1249, allocations: 100.8 kB / 366.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1249, allocations: 4.219 kB / 366.7 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004871/0.1254, allocations: 185.4 kB / 366.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.1255, allocations: 0 / 366.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002132/0.1276, allocations: 0.6551 MB / 367.6 MB, free: 4.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.1277, allocations: 110.8 kB / 367.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.128, allocations: 274.5 kB / 367.9 MB, free: 3.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.128, allocations: 33.7 kB / 368 MB, free: 3.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1281, allocations: 175.9 kB / 368.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1282, allocations: 39.39 kB / 368.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.1283, allocations: 49.61 kB / 368.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1284, allocations: 338.8 kB / 368.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.1287, allocations: 95.92 kB / 368.7 MB, free: 3.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.1291, allocations: 183.2 kB / 368.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.1298, allocations: 290 kB / 369.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1298, allocations: 0 / 369.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001156/0.131, allocations: 450.1 kB / 369.6 MB, free: 2.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.131, allocations: 29.7 kB / 369.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.131, allocations: 12.05 kB / 369.6 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.1314, allocations: 76.8 kB / 369.7 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1316, allocations: 43.91 kB / 369.7 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1856/0.3172, allocations: 2.003 MB / 371.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.3177, allocations: 54.03 kB / 371.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.3177, allocations: 8.734 kB / 371.8 MB, free: 19.6 MB / 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.0001637/0.3179, allocations: 143.1 kB / 371.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.318, allocations: 21.84 kB / 371.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.3181, allocations: 34.09 kB / 372 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.3181, allocations: 3.234 kB / 372 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3181, allocations: 0 / 372 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3181, allocations: 1.031 kB / 372 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.3184, allocations: 295.1 kB / 372.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3184, allocations: 0 / 372.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.3185, allocations: 22.59 kB / 372.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/0.3189, allocations: 80.91 kB / 372.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.3189, allocations: 5.875 kB / 372.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.321, allocations: 1.924 MB / 374.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.321, allocations: 1.922 kB / 374.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.322, allocations: 362.8 kB / 374.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.3221, allocations: 101.4 kB / 374.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.3221, allocations: 7.359 kB / 374.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3224, allocations: 29.3 kB / 374.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.3225, allocations: 21.41 kB / 374.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3225, allocations: 10.77 kB / 374.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.3227, allocations: 193 kB / 375 MB, free: 17.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3227, allocations: 0.9375 kB / 375 MB, free: 17.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004121/0.3231, allocations: 70.48 kB / 375.1 MB, free: 17.56 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.0001488/0.3233, allocations: 102.6 kB / 375.2 MB, free: 17.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.3245, allocations: 481.8 kB / 375.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3246, allocations: 4.188 kB / 375.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.325, allocations: 231 kB / 375.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.3254, allocations: 48.69 kB / 375.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.3287, allocations: 0.894 MB / 376.8 MB, free: 16.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.3289, allocations: 0.7452 MB / 377.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.329, allocations: 26.62 kB / 377.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.3291, allocations: 25.3 kB / 377.6 MB, free: 16.26 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3291, allocations: 3.844 kB / 377.6 MB, free: 16.26 MB / 302.1 MB Notification: Performance of Templates: time 0.009345/0.3384, allocations: 3.806 MB / 381.4 MB, free: 16.07 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/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