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.001283/0.001283, allocations: 115.4 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001218, allocations: 64.25 kB / 306.5 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1097, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004259/0.114, allocations: 2.82 MB / 359.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1154, allocations: 0.6973 MB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1156, allocations: 4 kB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.1158, allocations: 35.75 kB / 360.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.116, allocations: 75.39 kB / 360.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1163, allocations: 83.91 kB / 360.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.1167, allocations: 358.5 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.117, allocations: 88.62 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1171, allocations: 127.5 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1174, allocations: 155.3 kB / 361.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.1174, allocations: 28 kB / 361.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-05/0.1175, allocations: 32 kB / 361.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.1176, allocations: 63.75 kB / 361.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1177, allocations: 147.3 kB / 361.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.1181, allocations: 315.2 kB / 362 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1181, allocations: 3.938 kB / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1181, allocations: 0 / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1181, allocations: 4 kB / 362 MB, free: 9.379 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.001318/0.1194, allocations: 0.6482 MB / 362.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1195, allocations: 8.031 kB / 362.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.023e-05/0.1196, allocations: 32.56 kB / 362.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.1199, allocations: 275.6 kB / 362.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1199, allocations: 16.8 kB / 363 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.12, allocations: 24.38 kB / 363 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.1207, allocations: 278.1 kB / 363.3 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1207, allocations: 0 / 363.3 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.1207, allocations: 8 kB / 363.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.1207, allocations: 7.938 kB / 363.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.1215, allocations: 245.5 kB / 363.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.1232, allocations: 0.9442 MB / 364.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/0.124, allocations: 246.5 kB / 364.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.1244, allocations: 100.8 kB / 364.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1244, allocations: 0 / 364.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005349/0.1249, allocations: 182 kB / 365 MB, free: 6.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.1249, allocations: 3.938 kB / 365 MB, free: 6.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002367/0.1273, allocations: 0.6546 MB / 365.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.1274, allocations: 106.8 kB / 365.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.1277, allocations: 278.5 kB / 366 MB, free: 5.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.1278, allocations: 33.7 kB / 366 MB, free: 5.051 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1279, allocations: 175.8 kB / 366.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.128, allocations: 47.39 kB / 366.3 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.1281, allocations: 53.61 kB / 366.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1282, allocations: 330.8 kB / 366.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.1286, allocations: 103.9 kB / 366.7 MB, free: 4.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.129, allocations: 179.3 kB / 366.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.1297, allocations: 284.9 kB / 367.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1297, allocations: 0 / 367.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001179/0.1309, allocations: 443.6 kB / 367.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.1309, allocations: 37.7 kB / 367.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1309, allocations: 4 kB / 367.7 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004117/0.1313, allocations: 80.84 kB / 367.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.1316, allocations: 47.91 kB / 367.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.1348, allocations: 2.001 MB / 369.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.1352, allocations: 51.88 kB / 369.8 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.1352, allocations: 8 kB / 369.9 MB, free: 0.9766 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.0001923/0.1354, allocations: 144.8 kB / 370 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.1355, allocations: 27.72 kB / 370 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.1356, allocations: 25.77 kB / 370 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1356, allocations: 4 kB / 370 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1356, allocations: 4 kB / 370.1 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1356, allocations: 0 / 370.1 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.1359, allocations: 297.3 kB / 370.3 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1359, allocations: 0 / 370.3 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.1361, allocations: 23.97 kB / 370.4 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/0.1364, allocations: 84.73 kB / 370.4 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.1364, allocations: 3.938 kB / 370.5 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2191/0.3555, allocations: 1.91 MB / 372.4 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3555, allocations: 5.766 kB / 372.4 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3567, allocations: 355.4 kB / 372.7 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.3568, allocations: 105.9 kB / 372.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.3569, allocations: 7.516 kB / 372.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.3572, allocations: 33.02 kB / 372.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.3573, allocations: 17.86 kB / 372.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3573, allocations: 7.219 kB / 372.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002358/0.3575, allocations: 201.3 kB / 373.1 MB, free: 18.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3575, allocations: 0 / 373.1 MB, free: 18.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.3581, allocations: 74.27 kB / 373.2 MB, free: 18.81 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.0001965/0.3583, allocations: 109.9 kB / 373.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.3597, allocations: 487.4 kB / 373.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3597, allocations: 0 / 373.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.3601, allocations: 233.8 kB / 374 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.3605, allocations: 38.27 kB / 374 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.3636, allocations: 0.9822 MB / 375 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3638, allocations: 0.7531 MB / 375.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.364, allocations: 25.16 kB / 375.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.3641, allocations: 19.95 kB / 375.8 MB, free: 17.44 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3641, allocations: 0 / 375.8 MB, free: 17.44 MB / 302.1 MB Notification: Performance of Templates: time 0.008565/0.3726, allocations: 3.676 MB / 379.5 MB, free: 17.25 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