Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008803/0.0008806, allocations: 96.55 kB / 17.3 MB, free: 6.391 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.0009609/0.0009618, allocations: 176.1 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005588/0.0005588, allocations: 12 kB / 281.4 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1469, allocations: 47.58 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003905/0.1509, allocations: 2.402 MB / 331.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1528, allocations: 0.7061 MB / 332.1 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.153, allocations: 7.938 kB / 332.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.1532, allocations: 31.77 kB / 332.1 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.1535, allocations: 75.39 kB / 332.2 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1539, allocations: 87.91 kB / 332.3 MB, free: 424 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.1543, allocations: 334.6 kB / 332.6 MB, free: 88 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.1546, allocations: 65.16 kB / 332.7 MB, free: 28 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.1549, allocations: 123.4 kB / 332.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1551, allocations: 127.4 kB / 332.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.319e-05/0.1552, allocations: 16 kB / 332.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.1552, allocations: 16 kB / 332.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.1553, allocations: 51.69 kB / 333 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.1555, allocations: 157 kB / 333.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.1559, allocations: 303 kB / 333.4 MB, free: 15.24 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.156, allocations: 4 kB / 333.4 MB, free: 15.24 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.156, allocations: 0 / 333.4 MB, free: 15.24 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.156, allocations: 0 / 333.4 MB, free: 15.24 MB / 286.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.001637/0.1576, allocations: 0.6108 MB / 334.1 MB, free: 14.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.1577, allocations: 8.031 kB / 334.1 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1578, allocations: 36.55 kB / 334.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.1582, allocations: 279.5 kB / 334.4 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.1582, allocations: 12.81 kB / 334.4 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.1583, allocations: 20.38 kB / 334.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.159, allocations: 271.5 kB / 334.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.159, allocations: 0 / 334.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.1591, allocations: 8 kB / 334.7 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1591, allocations: 4 kB / 334.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007945/0.1599, allocations: 277.6 kB / 335 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.1616, allocations: 0.8973 MB / 335.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009444/0.1625, allocations: 270.5 kB / 336.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/0.163, allocations: 124.8 kB / 336.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.163, allocations: 0 / 336.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006766/0.1637, allocations: 201.7 kB / 336.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.1637, allocations: 0 / 336.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002671/0.1664, allocations: 0.7566 MB / 337.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.1665, allocations: 106.8 kB / 337.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.1669, allocations: 270.5 kB / 337.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.167, allocations: 33.7 kB / 337.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1671, allocations: 172 kB / 337.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.1672, allocations: 39.45 kB / 337.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.1672, allocations: 25.7 kB / 337.8 MB, free: 10.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1674, allocations: 330.8 kB / 338.1 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.1678, allocations: 119.9 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.1682, allocations: 167.7 kB / 338.4 MB, free: 9.934 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.1689, allocations: 302.2 kB / 338.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1689, allocations: 0 / 338.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001307/0.1702, allocations: 479.5 kB / 339.2 MB, free: 9.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.1704, allocations: 163.9 kB / 339.4 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.1705, allocations: 4 kB / 339.4 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.1709, allocations: 80.8 kB / 339.4 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.1711, allocations: 47.91 kB / 339.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.1739, allocations: 1.803 MB / 341.3 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.1742, allocations: 55.81 kB / 341.3 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.1743, allocations: 12 kB / 341.3 MB, free: 6.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.1743, allocations: 4.219 kB / 341.4 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007159/0.175, allocations: 310.2 kB / 341.7 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.175, allocations: 7.938 kB / 341.7 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.112e-05/0.1751, allocations: 24.97 kB / 341.7 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1753, allocations: 47.91 kB / 341.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.1764, allocations: 1.428 MB / 343.2 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.1767, allocations: 47.91 kB / 343.2 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1767, allocations: 11.94 kB / 343.2 MB, free: 4.773 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001939/0.1769, allocations: 220.6 kB / 343.4 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.1769, allocations: 23.72 kB / 343.5 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.177, allocations: 25.77 kB / 343.5 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.177, allocations: 11.94 kB / 343.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.177, allocations: 0 / 343.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.177, allocations: 3.938 kB / 343.5 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.1773, allocations: 297.5 kB / 343.8 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1773, allocations: 0 / 343.8 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.1775, allocations: 23.98 kB / 343.8 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002707/0.1777, allocations: 80.8 kB / 343.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.1778, allocations: 7.984 kB / 343.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.18, allocations: 1.667 MB / 345.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.18, allocations: 0 / 345.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1812, allocations: 397.4 kB / 346 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.1812, allocations: 96.83 kB / 346.1 MB, free: 1.715 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.1813, allocations: 11.98 kB / 346.1 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.1815, allocations: 39.97 kB / 346.1 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.1816, allocations: 23.97 kB / 346.1 MB, free: 1.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1817, allocations: 4 kB / 346.1 MB, free: 1.637 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.1819, allocations: 194 kB / 346.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1819, allocations: 0 / 346.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.1824, allocations: 119.7 kB / 346.4 MB, free: 1.328 MB / 286.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.0001825/0.1826, allocations: 103.2 kB / 346.5 MB, free: 1.219 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.1841, allocations: 0.7266 MB / 347.3 MB, free: 452 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1841, allocations: 0 / 347.3 MB, free: 452 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.1846, allocations: 250.9 kB / 347.5 MB, free: 188 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.185, allocations: 49.39 kB / 347.6 MB, free: 140 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1861, allocations: 0.5447 MB / 348.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.1866, allocations: 0.7483 MB / 348.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.1867, allocations: 30.27 kB / 348.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.1868, allocations: 23.38 kB / 348.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1868, allocations: 0 / 348.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of Templates: time 0.008301/0.1951, allocations: 3.817 MB / 352.7 MB, free: 10.93 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches