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.001667/0.001667, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.58 kB / 306.9 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.117, allocations: 50.53 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004552/0.1216, allocations: 2.773 MB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1231, allocations: 0.709 MB / 361 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.1235, allocations: 7.938 kB / 361 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.1238, allocations: 39.58 kB / 361 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.1241, allocations: 91.23 kB / 361.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.1245, allocations: 99.83 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005757/0.1251, allocations: 358.5 kB / 361.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.1254, allocations: 78.34 kB / 361.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.1256, allocations: 135.4 kB / 361.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.1259, allocations: 155.3 kB / 361.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.608e-05/0.126, allocations: 28 kB / 361.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.1261, allocations: 32 kB / 362 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.1262, allocations: 55.77 kB / 362 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.1263, allocations: 155.2 kB / 362.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.1268, allocations: 315.2 kB / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1268, allocations: 3.938 kB / 362.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1268, allocations: 0 / 362.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1268, allocations: 0 / 362.5 MB, free: 9.035 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.001536/0.1283, allocations: 0.6379 MB / 363.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.573e-05/0.1284, allocations: 12.03 kB / 363.1 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.1286, allocations: 28.56 kB / 363.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.1292, allocations: 283.6 kB / 363.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.1292, allocations: 16.81 kB / 363.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.1293, allocations: 16.38 kB / 363.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.13, allocations: 282.1 kB / 363.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1301, allocations: 3.984 kB / 363.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.1301, allocations: 8 kB / 363.8 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.1301, allocations: 8 kB / 363.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.1309, allocations: 249.5 kB / 364 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.1329, allocations: 0.9364 MB / 364.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/0.1337, allocations: 246.6 kB / 365.2 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.1341, allocations: 100.8 kB / 365.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1341, allocations: 0 / 365.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005657/0.1347, allocations: 186 kB / 365.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.1347, allocations: 3.938 kB / 365.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002377/0.1371, allocations: 0.6586 MB / 366.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.1372, allocations: 106.8 kB / 366.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.1375, allocations: 266.5 kB / 366.5 MB, free: 4.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.1375, allocations: 33.7 kB / 366.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1377, allocations: 164 kB / 366.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.1377, allocations: 51.3 kB / 366.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.71e-05/0.1378, allocations: 45.7 kB / 366.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.138, allocations: 338.8 kB / 367.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.1383, allocations: 95.78 kB / 367.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.1388, allocations: 175.7 kB / 367.4 MB, free: 3.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.1395, allocations: 264.4 kB / 367.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1395, allocations: 0 / 367.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00122/0.1407, allocations: 439.6 kB / 368.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.1408, allocations: 32.2 kB / 368.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1408, allocations: 4 kB / 368.1 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.1412, allocations: 80.86 kB / 368.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.1414, allocations: 39.97 kB / 368.2 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.1442, allocations: 1.95 MB / 370.2 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.1445, allocations: 51.86 kB / 370.2 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.1446, allocations: 8 kB / 370.2 MB, free: 0.7617 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.0001733/0.1447, allocations: 137.8 kB / 370.4 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.1448, allocations: 23.72 kB / 370.4 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.1448, allocations: 29.77 kB / 370.4 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1449, allocations: 8 kB / 370.4 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1449, allocations: 3.938 kB / 370.4 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1449, allocations: 0 / 370.4 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.1452, allocations: 309.3 kB / 370.7 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1452, allocations: 0 / 370.7 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.1454, allocations: 16.11 kB / 370.7 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002686/0.1456, allocations: 80.8 kB / 370.8 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.1457, allocations: 11.92 kB / 370.8 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2248/0.3705, allocations: 1.743 MB / 372.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3705, allocations: 0 / 372.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.3717, allocations: 353.3 kB / 372.9 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.754e-05/0.3718, allocations: 103.2 kB / 373 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.3718, allocations: 13.22 kB / 373 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.3721, allocations: 30.66 kB / 373.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.3722, allocations: 21.19 kB / 373.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3722, allocations: 7.094 kB / 373.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.3724, allocations: 189.2 kB / 373.3 MB, free: 18.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.3724, allocations: 0 / 373.3 MB, free: 18.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004497/0.3729, allocations: 72.62 kB / 373.3 MB, free: 18.82 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.0001518/0.3731, allocations: 107.6 kB / 373.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.3741, allocations: 416.8 kB / 373.9 MB, free: 18.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3741, allocations: 0 / 373.9 MB, free: 18.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.3746, allocations: 227.8 kB / 374.1 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.0003509/0.375, allocations: 50 kB / 374.1 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.3761, allocations: 457.7 kB / 374.6 MB, free: 18.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.3763, allocations: 0.7467 MB / 375.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3765, allocations: 27.02 kB / 375.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.3765, allocations: 21.56 kB / 375.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3765, allocations: 1.75 kB / 375.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of Templates: time 0.008975/0.3855, allocations: 3.85 MB / 379.2 MB, free: 17.36 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