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.001481/0.001481, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001648, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 66.17 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1063, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004227/0.1106, allocations: 2.771 MB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.112, allocations: 0.7128 MB / 362.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.1121, allocations: 4 kB / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.1123, allocations: 43.58 kB / 362.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1125, allocations: 87.25 kB / 362.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1128, allocations: 95.81 kB / 362.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.1132, allocations: 346.5 kB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.1134, allocations: 94.33 kB / 363 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.1136, allocations: 131.4 kB / 363.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1138, allocations: 155.3 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.1138, allocations: 32 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.582e-05/0.1139, allocations: 28 kB / 363.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.1139, allocations: 59.83 kB / 363.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1141, allocations: 147.2 kB / 363.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.1145, allocations: 322.8 kB / 363.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1145, allocations: 0 / 363.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1145, allocations: 0 / 363.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.1145, allocations: 4 kB / 363.9 MB, free: 8.305 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.001282/0.1158, allocations: 0.6535 MB / 364.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1158, allocations: 8.031 kB / 364.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.283e-05/0.1159, allocations: 32.56 kB / 364.6 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.1163, allocations: 275.6 kB / 364.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.1164, allocations: 16.81 kB / 364.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.1164, allocations: 20.38 kB / 364.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.117, allocations: 282.1 kB / 365.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1171, allocations: 0 / 365.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.1171, allocations: 15.94 kB / 365.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1171, allocations: 4 kB / 365.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006765/0.1178, allocations: 245.5 kB / 365.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.1193, allocations: 0.9364 MB / 366.4 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.1201, allocations: 246.5 kB / 366.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.1204, allocations: 100.8 kB / 366.7 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.1205, allocations: 8.188 kB / 366.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000431/0.1209, allocations: 181.7 kB / 366.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1209, allocations: 0 / 366.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.00225/0.1232, allocations: 0.6581 MB / 367.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.1232, allocations: 106.8 kB / 367.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.1235, allocations: 266.5 kB / 367.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1236, allocations: 33.64 kB / 368 MB, free: 3.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1237, allocations: 168 kB / 368.1 MB, free: 3.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.1238, allocations: 51.3 kB / 368.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.383e-05/0.1238, allocations: 45.7 kB / 368.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.124, allocations: 334.8 kB / 368.5 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.1243, allocations: 103.8 kB / 368.6 MB, free: 3.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.1247, allocations: 168.5 kB / 368.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.1253, allocations: 262.5 kB / 369.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1253, allocations: 4 kB / 369.1 MB, free: 2.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001116/0.1264, allocations: 431.6 kB / 369.5 MB, free: 2.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.1265, allocations: 36.83 kB / 369.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1265, allocations: 4 kB / 369.5 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003773/0.1269, allocations: 76.86 kB / 369.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.1271, allocations: 47.89 kB / 369.7 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.1296, allocations: 1.943 MB / 371.6 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.1299, allocations: 47.88 kB / 371.6 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.13, allocations: 15.98 kB / 371.7 MB, free: 24 kB / 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.1557/0.2857, allocations: 137.8 kB / 371.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.2858, allocations: 20.88 kB / 371.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.2858, allocations: 28.64 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.2859, allocations: 1.812 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2859, allocations: 0.875 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2859, allocations: 2.375 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.2862, allocations: 296.8 kB / 372.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2862, allocations: 0 / 372.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2864, allocations: 28.34 kB / 372.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003169/0.2867, allocations: 78.84 kB / 372.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2867, allocations: 1.188 kB / 372.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.2888, allocations: 1.76 MB / 374 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2888, allocations: 5.5 kB / 374 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.2898, allocations: 361 kB / 374.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.2899, allocations: 105.1 kB / 374.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.29, allocations: 2.109 kB / 374.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.2902, allocations: 39.84 kB / 374.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.2903, allocations: 21.58 kB / 374.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.2903, allocations: 3 kB / 374.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.2905, allocations: 190.8 kB / 374.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2905, allocations: 0.9688 kB / 374.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004422/0.291, allocations: 68.58 kB / 374.8 MB, free: 18.37 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.0001694/0.2912, allocations: 108.9 kB / 374.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.2922, allocations: 408.6 kB / 375.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2922, allocations: 0.7188 kB / 375.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.2926, allocations: 232.2 kB / 375.5 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.293, allocations: 45.81 kB / 375.6 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.294, allocations: 444.8 kB / 376 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2942, allocations: 0.7487 MB / 376.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.2943, allocations: 27.14 kB / 376.8 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.2944, allocations: 20.22 kB / 376.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2944, allocations: 0 / 376.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of Templates: time 0.009078/0.3035, allocations: 3.855 MB / 380.6 MB, free: 16.91 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 -s cvode -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