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.001422/0.001422, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001505/0.001505, allocations: 197.9 kB / 18.73 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.867/1.867, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001289/0.001289, allocations: 51.94 kB / 280.6 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1138, allocations: 46.63 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.005005/0.1188, allocations: 2.889 MB / 330.1 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1206, allocations: 0.7488 MB / 330.9 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.121, allocations: 4 kB / 330.9 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.1213, allocations: 35.69 kB / 330.9 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.1217, allocations: 79.39 kB / 331 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1222, allocations: 87.92 kB / 331.1 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.1227, allocations: 378.4 kB / 331.5 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.123, allocations: 111.5 kB / 331.6 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.1234, allocations: 139.4 kB / 331.7 MB, free: 396 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.1237, allocations: 167.2 kB / 331.9 MB, free: 228 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.701e-05/0.1238, allocations: 24 kB / 331.9 MB, free: 204 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.96e-05/0.1239, allocations: 24 kB / 331.9 MB, free: 180 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.124, allocations: 63.69 kB / 332 MB, free: 116 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.1243, allocations: 151.2 kB / 332.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1246, allocations: 311.5 kB / 332.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1246, allocations: 0 / 332.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1246, allocations: 0 / 332.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1247, allocations: 3.938 kB / 332.4 MB, free: 15.66 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.001466/0.1261, allocations: 0.6886 MB / 333.1 MB, free: 14.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.1262, allocations: 12.03 kB / 333.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.1263, allocations: 36.56 kB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.1267, allocations: 291.6 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1267, allocations: 16.94 kB / 333.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.1268, allocations: 20.38 kB / 333.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.1275, allocations: 293.1 kB / 333.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1275, allocations: 3.984 kB / 333.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.1275, allocations: 12 kB / 333.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1275, allocations: 4 kB / 333.8 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008128/0.1284, allocations: 286 kB / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.1303, allocations: 1.052 MB / 335.1 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.131, allocations: 206.5 kB / 335.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.1313, allocations: 76.8 kB / 335.4 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1313, allocations: 4 kB / 335.4 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.1318, allocations: 157 kB / 335.6 MB, free: 12.31 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 3.547e-06/0.1318, allocations: 0 / 335.6 MB, free: 12.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001149/0.1329, allocations: 399 kB / 336 MB, free: 11.89 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.133, allocations: 85.08 kB / 336 MB, free: 11.79 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.1334, allocations: 320.5 kB / 336.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.1334, allocations: 33.7 kB / 336.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1336, allocations: 203.5 kB / 336.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.1336, allocations: 39.53 kB / 336.6 MB, free: 11.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1337, allocations: 57.83 kB / 336.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1339, allocations: 338.8 kB / 337 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.1342, allocations: 97.48 kB / 337.1 MB, free: 10.69 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.1346, allocations: 198.1 kB / 337.3 MB, free: 10.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.1352, allocations: 315.1 kB / 337.6 MB, free: 10.08 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1352, allocations: 0 / 337.6 MB, free: 10.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008709/0.1361, allocations: 387.8 kB / 338 MB, free: 9.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.1361, allocations: 30.08 kB / 338 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1361, allocations: 7.984 kB / 338 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.1363, allocations: 32.78 kB / 338.1 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.1366, allocations: 59.89 kB / 338.1 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.1377, allocations: 1.311 MB / 339.4 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.138, allocations: 55.81 kB / 339.5 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.1381, allocations: 8 kB / 339.5 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003474/0.1384, allocations: 184.3 kB / 339.7 MB, free: 7.863 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003119/0.1387, allocations: 194.3 kB / 339.9 MB, free: 7.625 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005444/0.1393, allocations: 299.2 kB / 340.1 MB, free: 7.277 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/0.1393, allocations: 8 kB / 340.2 MB, free: 7.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000863/0.1402, allocations: 359.8 kB / 340.5 MB, free: 6.902 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.1402, allocations: 37.69 kB / 340.5 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1402, allocations: 4 kB / 340.5 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/0.1403, allocations: 32.78 kB / 340.6 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1406, allocations: 51.89 kB / 340.6 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.1418, allocations: 1.308 MB / 341.9 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.1421, allocations: 39.97 kB / 342 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.1422, allocations: 8 kB / 342 MB, free: 5.285 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.0002093/0.1424, allocations: 200.1 kB / 342.2 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.1424, allocations: 23.72 kB / 342.2 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/0.1425, allocations: 29.83 kB / 342.2 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1425, allocations: 7.984 kB / 342.2 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1425, allocations: 3.938 kB / 342.2 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1425, allocations: 0 / 342.2 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.143, allocations: 459.1 kB / 342.7 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.143, allocations: 7.922 kB / 342.7 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.1432, allocations: 27.97 kB / 342.7 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.1433, allocations: 24.84 kB / 342.8 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1433, allocations: 0 / 342.8 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009921/0.1443, allocations: 1.3 MB / 344.1 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1444, allocations: 160 / 344.1 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007156/0.1451, allocations: 266.3 kB / 344.3 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/0.1452, allocations: 108.8 kB / 344.4 MB, free: 2.594 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.1452, allocations: 4 kB / 344.4 MB, free: 2.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.1455, allocations: 19.97 kB / 344.4 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.1456, allocations: 23.91 kB / 344.5 MB, free: 2.547 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1456, allocations: 8 kB / 344.5 MB, free: 2.539 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002454/0.1458, allocations: 227.1 kB / 344.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.644e-06/0.1458, allocations: 0 / 344.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.1464, allocations: 123.7 kB / 344.8 MB, free: 2.199 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.0001713/0.1466, allocations: 115.2 kB / 344.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.1481, allocations: 0.6807 MB / 345.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1481, allocations: 448 / 345.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.1486, allocations: 214.6 kB / 345.8 MB, free: 1.121 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.149, allocations: 36.64 kB / 345.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1502, allocations: 0.5997 MB / 346.5 MB, free: 468 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.1507, allocations: 0.7561 MB / 347.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-05/0.1508, allocations: 23.44 kB / 347.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1508, allocations: 0 / 347.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of Templates: time 0.009233/0.1601, allocations: 4.651 MB / 351.9 MB, free: 11 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