Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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.Comparator,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.Comparator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,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.Comparator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 95.12 kB / 17.95 MB, free: 5.629 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.00131/0.00131, allocations: 180 kB / 18.87 MB, free: 4.77 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.774/1.774, allocations: 205.4 MB / 225 MB, free: 12.99 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.0005394/0.0005395, allocations: 12 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1313, allocations: 47.59 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.00343/0.1348, allocations: 2.52 MB / 332.1 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1363, allocations: 0.7372 MB / 332.9 MB, free: 468 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1365, allocations: 4 kB / 332.9 MB, free: 464 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.1366, allocations: 39.64 kB / 332.9 MB, free: 424 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1369, allocations: 83.38 kB / 333 MB, free: 340 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1372, allocations: 95.84 kB / 333.1 MB, free: 244 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.1377, allocations: 370.4 kB / 333.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.138, allocations: 115.5 kB / 333.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.1381, allocations: 123.4 kB / 333.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1384, allocations: 151.3 kB / 333.8 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.1384, allocations: 20 kB / 333.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.625e-05/0.1385, allocations: 20 kB / 333.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.1386, allocations: 59.69 kB / 333.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1388, allocations: 168.9 kB / 334.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.1391, allocations: 299.4 kB / 334.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1391, allocations: 0 / 334.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1391, allocations: 7.938 kB / 334.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1391, allocations: 4 kB / 334.4 MB, free: 14.92 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001384/0.1405, allocations: 0.6459 MB / 335.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1406, allocations: 12.03 kB / 335.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.282e-05/0.1407, allocations: 36.55 kB / 335.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.1411, allocations: 291.6 kB / 335.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.1411, allocations: 20.88 kB / 335.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.1412, allocations: 24.38 kB / 335.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.1419, allocations: 313 kB / 335.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1419, allocations: 0 / 335.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.1419, allocations: 8 kB / 335.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1419, allocations: 8 kB / 335.8 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008354/0.1428, allocations: 314 kB / 336.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.1446, allocations: 1.087 MB / 337.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008057/0.1454, allocations: 230.6 kB / 337.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.1457, allocations: 104.8 kB / 337.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.1458, allocations: 3.938 kB / 337.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005304/0.1463, allocations: 169 kB / 337.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.1463, allocations: 0 / 337.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001361/0.1477, allocations: 451 kB / 338.1 MB, free: 11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.1478, allocations: 81.11 kB / 338.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.1482, allocations: 320.6 kB / 338.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1482, allocations: 26.08 kB / 338.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1484, allocations: 215.4 kB / 338.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1484, allocations: 39.55 kB / 338.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.1485, allocations: 25.7 kB / 338.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1486, allocations: 338.8 kB / 339.1 MB, free: 9.918 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.1489, allocations: 112.2 kB / 339.2 MB, free: 9.809 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.1493, allocations: 218 kB / 339.4 MB, free: 9.547 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/0.15, allocations: 351.1 kB / 339.8 MB, free: 9.148 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.15, allocations: 0 / 339.8 MB, free: 9.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009045/0.151, allocations: 423.6 kB / 340.2 MB, free: 8.719 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.1511, allocations: 223.7 kB / 340.4 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1511, allocations: 4 kB / 340.4 MB, free: 8.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/0.1514, allocations: 28.84 kB / 340.4 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.1516, allocations: 67.89 kB / 340.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.1527, allocations: 1.3 MB / 341.8 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.1531, allocations: 59.59 kB / 341.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.1531, allocations: 16 kB / 341.9 MB, free: 6.836 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.1531, allocations: 7.938 kB / 341.9 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007452/0.1539, allocations: 350.6 kB / 342.2 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1539, allocations: 4 kB / 342.2 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.771e-05/0.154, allocations: 32.91 kB / 342.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1542, allocations: 67.88 kB / 342.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009393/0.1551, allocations: 1.288 MB / 343.6 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.1554, allocations: 51.69 kB / 343.7 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1555, allocations: 12 kB / 343.7 MB, free: 4.883 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (27): * Single equations (assignments): 25 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.1557, allocations: 221.2 kB / 343.9 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.1557, allocations: 27.62 kB / 343.9 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.1558, allocations: 29.89 kB / 344 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1558, allocations: 4 kB / 344 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1558, allocations: 3.938 kB / 344 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1558, allocations: 3.984 kB / 344 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.1563, allocations: 447.2 kB / 344.4 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1563, allocations: 3.938 kB / 344.4 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.1565, allocations: 43.98 kB / 344.4 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.981e-05/0.1566, allocations: 28.78 kB / 344.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1566, allocations: 0 / 344.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.1576, allocations: 1.304 MB / 345.8 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1577, allocations: 160 / 345.8 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.1584, allocations: 298.3 kB / 346.1 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/0.1585, allocations: 112.7 kB / 346.2 MB, free: 2.129 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1586, allocations: 0 / 346.2 MB, free: 2.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.1588, allocations: 31.97 kB / 346.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.1589, allocations: 19.97 kB / 346.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1589, allocations: 4 kB / 346.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.1592, allocations: 234.9 kB / 346.5 MB, free: 1.848 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1592, allocations: 4 kB / 346.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005197/0.1597, allocations: 119.8 kB / 346.6 MB, free: 1.727 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 7 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.1599, allocations: 103.2 kB / 346.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.1613, allocations: 0.739 MB / 347.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1614, allocations: 0 / 347.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.1618, allocations: 227.3 kB / 347.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1622, allocations: 44.56 kB / 347.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1634, allocations: 0.6183 MB / 348.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.1639, allocations: 0.7561 MB / 349.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.831e-05/0.164, allocations: 27.42 kB / 349.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.164, allocations: 0 / 349.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of Templates: time 0.00726/0.1713, allocations: 4.617 MB / 353.7 MB, free: 10.47 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.ComparatorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.ComparatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.ComparatorCalcHelperMain.o] Error 1