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.001075/0.001075, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001495, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002505/0.0002506, allocations: 8 kB / 307.8 MB, free: 0.7734 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1296, allocations: 51.53 MB / 359.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00337/0.133, allocations: 2.45 MB / 361.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1346, allocations: 0.6974 MB / 362.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.1349, allocations: 4 kB / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1351, allocations: 35.7 kB / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.1356, allocations: 75.45 kB / 362.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.1361, allocations: 87.84 kB / 362.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.1366, allocations: 330.6 kB / 363 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.1369, allocations: 77.12 kB / 363 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.1372, allocations: 111.5 kB / 363.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.1375, allocations: 135.3 kB / 363.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/0.1376, allocations: 16 kB / 363.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.127e-05/0.1376, allocations: 12 kB / 363.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.1377, allocations: 55.75 kB / 363.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.1379, allocations: 156.9 kB / 363.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.1382, allocations: 299.1 kB / 363.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1382, allocations: 0 / 363.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.1383, allocations: 0 / 363.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1383, allocations: 3.938 kB / 363.8 MB, free: 8.699 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.001534/0.1398, allocations: 0.6173 MB / 364.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1399, allocations: 12.03 kB / 364.4 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.14, allocations: 24.66 kB / 364.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.1403, allocations: 279.6 kB / 364.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1404, allocations: 12.81 kB / 364.7 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.1404, allocations: 20.38 kB / 364.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.1411, allocations: 298 kB / 365.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1411, allocations: 0 / 365.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.1411, allocations: 8 kB / 365.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1412, allocations: 4 kB / 365.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008625/0.142, allocations: 277.6 kB / 365.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.1443, allocations: 0.9753 MB / 366.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009786/0.1453, allocations: 270.6 kB / 366.6 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.1456, allocations: 116.8 kB / 366.7 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.1457, allocations: 4 kB / 366.7 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005165/0.1462, allocations: 197.7 kB / 366.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.1462, allocations: 224 / 366.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002574/0.1488, allocations: 0.7294 MB / 367.6 MB, free: 4.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.149, allocations: 110.8 kB / 367.7 MB, free: 4.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.1493, allocations: 266.5 kB / 368 MB, free: 4.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1493, allocations: 33.7 kB / 368 MB, free: 4.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.1495, allocations: 175.9 kB / 368.2 MB, free: 4.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.1495, allocations: 47.38 kB / 368.2 MB, free: 3.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.1496, allocations: 21.7 kB / 368.3 MB, free: 3.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1497, allocations: 342.8 kB / 368.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.1501, allocations: 107.9 kB / 368.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.1505, allocations: 187.6 kB / 368.9 MB, free: 3.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.1513, allocations: 298.9 kB / 369.2 MB, free: 2.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1513, allocations: 4 kB / 369.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001346/0.1527, allocations: 467.6 kB / 369.6 MB, free: 2.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.1527, allocations: 33.7 kB / 369.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1527, allocations: 7.938 kB / 369.7 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.1531, allocations: 80.86 kB / 369.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.1533, allocations: 43.97 kB / 369.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/0.1562, allocations: 1.807 MB / 371.6 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.1565, allocations: 59.89 kB / 371.7 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.1566, allocations: 8 kB / 371.7 MB, free: 312 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.0001814/0.1567, allocations: 141.7 kB / 371.8 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.1568, allocations: 19.72 kB / 371.8 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.1569, allocations: 29.83 kB / 371.9 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1569, allocations: 4 kB / 371.9 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1569, allocations: 3.938 kB / 371.9 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1569, allocations: 0 / 371.9 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2154/0.3723, allocations: 290.3 kB / 372.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3723, allocations: 0 / 372.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.3726, allocations: 31.92 kB / 372.2 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/0.373, allocations: 80.95 kB / 372.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.373, allocations: 4.625 kB / 372.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.3753, allocations: 1.67 MB / 373.9 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3754, allocations: 0 / 373.9 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.3767, allocations: 400.7 kB / 374.3 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.3768, allocations: 96.66 kB / 374.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.3769, allocations: 6.312 kB / 374.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.3772, allocations: 48.95 kB / 374.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3773, allocations: 21.91 kB / 374.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3773, allocations: 3.844 kB / 374.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.3776, allocations: 193.9 kB / 374.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3776, allocations: 0 / 374.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.3781, allocations: 72.89 kB / 374.8 MB, free: 17.77 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.0001683/0.3783, allocations: 103.8 kB / 374.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.3794, allocations: 440.3 kB / 375.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3794, allocations: 0 / 375.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004845/0.3799, allocations: 249.2 kB / 375.5 MB, free: 17.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.3803, allocations: 37.75 kB / 375.6 MB, free: 17.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3814, allocations: 0.5483 MB / 376.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3817, allocations: 0.7471 MB / 376.9 MB, free: 16.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.3818, allocations: 23.61 kB / 376.9 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.3819, allocations: 23.34 kB / 376.9 MB, free: 16.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3819, allocations: 0 / 376.9 MB, free: 16.39 MB / 302.1 MB Notification: Performance of Templates: time 0.01012/0.392, allocations: 3.471 MB / 380.4 MB, free: 16.21 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