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.0008912/0.0008914, allocations: 96.64 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009831/0.0009832, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 11.98 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003016/0.13, allocations: 2.26 MB / 360.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1313, allocations: 0.6862 MB / 361 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1315, allocations: 4 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.187e-05/0.1316, allocations: 35.69 kB / 361.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1318, allocations: 103.6 kB / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.1321, allocations: 71.84 kB / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.1324, allocations: 227.5 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.1327, allocations: 69.12 kB / 361.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.1328, allocations: 107.6 kB / 361.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.133, allocations: 131.4 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.133, allocations: 16 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.04e-05/0.1331, allocations: 16 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.1331, allocations: 43.81 kB / 361.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.1332, allocations: 73.58 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1335, allocations: 235.6 kB / 362.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1335, allocations: 0 / 362.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1335, allocations: 0 / 362.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1335, allocations: 0 / 362.1 MB, free: 9.84 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.00125/0.1348, allocations: 0.6183 MB / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1348, allocations: 8.031 kB / 362.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.1349, allocations: 31.72 kB / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1353, allocations: 262.5 kB / 363 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.1353, allocations: 20.39 kB / 363.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1353, allocations: 23.98 kB / 363.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.136, allocations: 285.8 kB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.136, allocations: 3.984 kB / 363.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.136, allocations: 12 kB / 363.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1361, allocations: 4 kB / 363.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/0.1368, allocations: 277.5 kB / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.1385, allocations: 0.9676 MB / 364.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/0.1393, allocations: 274.5 kB / 364.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1393, allocations: 0 / 364.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005095/0.1398, allocations: 201.8 kB / 365.1 MB, free: 6.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.1399, allocations: 0 / 365.1 MB, free: 6.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002342/0.1422, allocations: 0.729 MB / 365.8 MB, free: 5.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.1423, allocations: 106.8 kB / 365.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.1426, allocations: 262.6 kB / 366.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.1427, allocations: 29.7 kB / 366.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1428, allocations: 171.9 kB / 366.4 MB, free: 5.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.1429, allocations: 39.44 kB / 366.4 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.1429, allocations: 12 kB / 366.4 MB, free: 5.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1431, allocations: 338.7 kB / 366.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.1434, allocations: 115.9 kB / 366.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.1438, allocations: 183.8 kB / 367.1 MB, free: 4.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.1442, allocations: 149.5 kB / 367.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1442, allocations: 3.938 kB / 367.2 MB, free: 4.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001161/0.1454, allocations: 470 kB / 367.7 MB, free: 3.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.1454, allocations: 37.69 kB / 367.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1455, allocations: 0 / 367.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004202/0.1459, allocations: 92.81 kB / 367.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.1461, allocations: 47.91 kB / 367.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.1488, allocations: 1.815 MB / 369.6 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.1491, allocations: 63.84 kB / 369.7 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1492, allocations: 11.98 kB / 369.7 MB, free: 1.754 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.1493, allocations: 138 kB / 369.9 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.1494, allocations: 27.88 kB / 369.9 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.1494, allocations: 29.83 kB / 369.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1495, allocations: 3.938 kB / 369.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1495, allocations: 0 / 369.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1495, allocations: 4 kB / 369.9 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.1498, allocations: 293.4 kB / 370.2 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1498, allocations: 0 / 370.2 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.1499, allocations: 31.92 kB / 370.2 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/0.1502, allocations: 84.8 kB / 370.3 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1502, allocations: 0 / 370.3 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2528/0.4031, allocations: 1.683 MB / 372 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4031, allocations: 10.34 kB / 372 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.4044, allocations: 397.3 kB / 372.4 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.4045, allocations: 100.2 kB / 372.5 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.4045, allocations: 5.953 kB / 372.5 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.4048, allocations: 44.59 kB / 372.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.4049, allocations: 18.58 kB / 372.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.4049, allocations: 4.688 kB / 372.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.4052, allocations: 187.8 kB / 372.8 MB, free: 19.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4052, allocations: 0 / 372.8 MB, free: 19.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.4056, allocations: 70.34 kB / 372.8 MB, free: 19.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001801/0.4058, allocations: 111.2 kB / 372.9 MB, free: 18.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.407, allocations: 434.9 kB / 373.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.407, allocations: 1.094 kB / 373.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.4075, allocations: 245 kB / 373.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.4078, allocations: 43.08 kB / 373.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.4089, allocations: 0.5181 MB / 374.2 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.4091, allocations: 0.7537 MB / 374.9 MB, free: 17.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.4093, allocations: 25.78 kB / 374.9 MB, free: 17.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.4093, allocations: 18.44 kB / 375 MB, free: 17.72 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4093, allocations: 0 / 375 MB, free: 17.72 MB / 302.1 MB Notification: Performance of Templates: time 0.008801/0.4181, allocations: 3.359 MB / 378.3 MB, free: 17.55 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches