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.001092/0.001092, allocations: 103.9 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.27 kB / 306.3 MB, free: 1.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1023, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003879/0.1062, allocations: 2.815 MB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1079, allocations: 0.7168 MB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.1081, allocations: 4 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.1084, allocations: 31.7 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.1086, allocations: 75.44 kB / 360.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.109, allocations: 83.88 kB / 360.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.1095, allocations: 334.5 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.1097, allocations: 77.14 kB / 360.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.1099, allocations: 119.5 kB / 361 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1101, allocations: 143.3 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.1102, allocations: 20 kB / 361.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.11e-05/0.1103, allocations: 16 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.1103, allocations: 51.77 kB / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.1105, allocations: 139.2 kB / 361.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.1109, allocations: 299.2 kB / 361.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.1109, allocations: 3.984 kB / 361.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.111, allocations: 4 kB / 361.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.111, allocations: 3.938 kB / 361.7 MB, free: 9.605 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.001391/0.1124, allocations: 0.638 MB / 362.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1124, allocations: 12.03 kB / 362.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.1125, allocations: 28.56 kB / 362.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1129, allocations: 283.6 kB / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1129, allocations: 16.75 kB / 362.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.113, allocations: 20.38 kB / 362.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.1137, allocations: 282 kB / 363 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1137, allocations: 0 / 363 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.1137, allocations: 8 kB / 363 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1137, allocations: 4 kB / 363 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.1145, allocations: 245.6 kB / 363.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.1166, allocations: 0.9442 MB / 364.2 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/0.1176, allocations: 238.6 kB / 364.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.1179, allocations: 108.8 kB / 364.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.118, allocations: 0 / 364.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004811/0.1184, allocations: 185.6 kB / 364.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1185, allocations: 224 / 364.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002329/0.1208, allocations: 0.6629 MB / 365.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.1209, allocations: 106.8 kB / 365.5 MB, free: 5.586 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.1212, allocations: 270.5 kB / 365.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.1213, allocations: 33.7 kB / 365.8 MB, free: 5.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1214, allocations: 172 kB / 365.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.1215, allocations: 47.3 kB / 366 MB, free: 5.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.1216, allocations: 45.7 kB / 366 MB, free: 5.008 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1218, allocations: 330.8 kB / 366.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.1222, allocations: 103.8 kB / 366.4 MB, free: 4.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.1226, allocations: 168.5 kB / 366.6 MB, free: 4.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007131/0.1233, allocations: 263.3 kB / 366.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1233, allocations: 4 kB / 366.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001167/0.1245, allocations: 431.6 kB / 367.3 MB, free: 3.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.1245, allocations: 29.7 kB / 367.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1246, allocations: 12 kB / 367.3 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003719/0.1249, allocations: 76.8 kB / 367.4 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.1251, allocations: 35.97 kB / 367.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.1276, allocations: 1.764 MB / 369.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.128, allocations: 51.8 kB / 369.3 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.128, allocations: 8 kB / 369.3 MB, free: 1.523 MB / 302.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.0001471/0.1281, allocations: 141.7 kB / 369.4 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.1282, allocations: 23.78 kB / 369.4 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.1282, allocations: 25.83 kB / 369.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1282, allocations: 4 kB / 369.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.1283, allocations: 3.938 kB / 369.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1283, allocations: 0 / 369.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.1285, allocations: 297.4 kB / 369.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1285, allocations: 0 / 369.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1287, allocations: 27.86 kB / 369.8 MB, free: 0.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/0.129, allocations: 80.8 kB / 369.9 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.129, allocations: 3.984 kB / 369.9 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1896/0.3186, allocations: 1.625 MB / 371.5 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3186, allocations: 0.7969 kB / 371.5 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3198, allocations: 362.3 kB / 371.8 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.3199, allocations: 104.8 kB / 371.9 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3199, allocations: 6.109 kB / 371.9 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.3202, allocations: 33.59 kB / 372 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.3203, allocations: 25.53 kB / 372 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3203, allocations: 2.812 kB / 372 MB, free: 19.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.3205, allocations: 190.4 kB / 372.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3205, allocations: 0 / 372.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.3209, allocations: 74.94 kB / 372.3 MB, free: 19.2 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.0001327/0.321, allocations: 106.2 kB / 372.4 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3221, allocations: 406.9 kB / 372.8 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3221, allocations: 0.9688 kB / 372.8 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005365/0.3227, allocations: 231.7 kB / 373 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.3231, allocations: 46 kB / 373 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.3243, allocations: 0.5261 MB / 373.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3247, allocations: 0.7473 MB / 374.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.3248, allocations: 21.86 kB / 374.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.3249, allocations: 19.08 kB / 374.4 MB, free: 17.83 MB / 302.1 MB Notification: Performance of SimCode: time 1.984e-06/0.3249, allocations: 0 / 374.4 MB, free: 17.83 MB / 302.1 MB Notification: Performance of Templates: time 0.009687/0.3346, allocations: 3.499 MB / 377.9 MB, free: 17.7 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/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