Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 92.75 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001504, allocations: 184.2 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003925, allocations: 12.12 kB / 301.4 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.132, allocations: 50.42 MB / 351.8 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003845/0.1359, allocations: 2.436 MB / 354.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1379, allocations: 0.6662 MB / 355 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004289/0.1383, allocations: 4 kB / 355 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.1386, allocations: 27.77 kB / 355 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004004/0.139, allocations: 79.38 kB / 355.1 MB, free: 464 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.1395, allocations: 83.91 kB / 355.1 MB, free: 380 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.14, allocations: 338.5 kB / 355.5 MB, free: 40 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.1403, allocations: 76.98 kB / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.1406, allocations: 115.5 kB / 355.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1409, allocations: 127.4 kB / 355.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.1409, allocations: 12 kB / 355.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.803e-05/0.141, allocations: 16 kB / 355.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.1411, allocations: 59.67 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.1412, allocations: 153 kB / 356 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.1417, allocations: 303.1 kB / 356.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1418, allocations: 4 kB / 356.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1418, allocations: 0 / 356.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.1418, allocations: 0 / 356.3 MB, free: 15.18 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.001645/0.1434, allocations: 0.603 MB / 356.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.817e-05/0.1435, allocations: 12.02 kB / 356.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.1437, allocations: 36.56 kB / 357 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.1443, allocations: 271.6 kB / 357.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.1443, allocations: 24.75 kB / 357.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/0.1444, allocations: 24.38 kB / 357.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008275/0.1452, allocations: 298 kB / 357.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1453, allocations: 3.984 kB / 357.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.1453, allocations: 4 kB / 357.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.1453, allocations: 4 kB / 357.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008917/0.1462, allocations: 277.6 kB / 357.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.1485, allocations: 0.9715 MB / 358.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009372/0.1494, allocations: 270.5 kB / 359.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.1498, allocations: 120.8 kB / 359.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1498, allocations: 0 / 359.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000544/0.1504, allocations: 201.7 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.1504, allocations: 0 / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002607/0.153, allocations: 0.7267 MB / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.1532, allocations: 110.8 kB / 360.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.1536, allocations: 270.5 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.1537, allocations: 25.7 kB / 360.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.1539, allocations: 179.9 kB / 360.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.154, allocations: 43.39 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.154, allocations: 25.7 kB / 360.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.1542, allocations: 334.8 kB / 361.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.1546, allocations: 115.9 kB / 361.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.1551, allocations: 188.4 kB / 361.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/0.1558, allocations: 288.4 kB / 361.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1558, allocations: 0 / 361.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001362/0.1572, allocations: 473.9 kB / 362.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.1573, allocations: 33.7 kB / 362.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1573, allocations: 7.922 kB / 362.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004342/0.1578, allocations: 92.8 kB / 362.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.158, allocations: 43.97 kB / 362.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.1612, allocations: 1.799 MB / 364.1 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.1616, allocations: 55.8 kB / 364.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.1617, allocations: 16.06 kB / 364.2 MB, free: 6.793 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.0002068/0.1619, allocations: 137.8 kB / 364.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.1619, allocations: 23.72 kB / 364.3 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.616e-05/0.162, allocations: 25.83 kB / 364.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.162, allocations: 4 kB / 364.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.162, allocations: 3.938 kB / 364.4 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1621, allocations: 0 / 364.4 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.1624, allocations: 289.4 kB / 364.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1625, allocations: 4 kB / 364.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1626, allocations: 31.97 kB / 364.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.1629, allocations: 84.73 kB / 364.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.163, allocations: 4 kB / 364.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.1654, allocations: 1.668 MB / 366.4 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1654, allocations: 3.938 kB / 366.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.1667, allocations: 393.5 kB / 366.8 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.1668, allocations: 104.7 kB / 366.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.1669, allocations: 12 kB / 367 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.1672, allocations: 39.95 kB / 367 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.1673, allocations: 19.97 kB / 367 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1673, allocations: 4 kB / 367 MB, free: 3.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.1675, allocations: 194 kB / 367.2 MB, free: 3.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1676, allocations: 0 / 367.2 MB, free: 3.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000435/0.168, allocations: 67.84 kB / 367.3 MB, free: 3.477 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.0002216/0.1682, allocations: 115.1 kB / 367.4 MB, free: 3.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.1695, allocations: 441.4 kB / 367.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1695, allocations: 0 / 367.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.17, allocations: 246.8 kB / 368.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.1705, allocations: 43.41 kB / 368.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.1717, allocations: 0.5486 MB / 368.6 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.172, allocations: 0.7521 MB / 369.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.1722, allocations: 22.23 kB / 369.4 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.1723, allocations: 23.44 kB / 369.4 MB, free: 1.207 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1723, allocations: 0 / 369.4 MB, free: 1.207 MB / 302.1 MB Notification: Performance of Templates: time 0.2152/0.3875, allocations: 3.468 MB / 372.9 MB, free: 24.17 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches