Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.000921, allocations: 97.08 kB / 16.96 MB, free: 6.41 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.0009456/0.0009453, allocations: 179.7 kB / 17.84 MB, free: 5.969 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.579/1.579, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 4 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1313, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003134/0.1344, allocations: 1.766 MB / 353.6 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1356, allocations: 0.5067 MB / 354.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1358, allocations: 4 kB / 354.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.1359, allocations: 27.83 kB / 354.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.1361, allocations: 43.61 kB / 354.2 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1363, allocations: 43.95 kB / 354.3 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.1366, allocations: 211 kB / 354.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.1369, allocations: 61.94 kB / 354.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.137, allocations: 71.78 kB / 354.6 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1372, allocations: 87.61 kB / 354.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.1373, allocations: 8 kB / 354.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.953e-05/0.1373, allocations: 12 kB / 354.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.1374, allocations: 31.84 kB / 354.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.1375, allocations: 61.58 kB / 354.8 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1377, allocations: 175.8 kB / 355 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1377, allocations: 4 kB / 355 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1377, allocations: 0 / 355 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1377, allocations: 0 / 355 MB, free: 0.8984 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008657/0.1386, allocations: 466.7 kB / 355.4 MB, free: 404 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1387, allocations: 16.03 kB / 355.4 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.1387, allocations: 19.77 kB / 355.5 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1391, allocations: 214.8 kB / 355.7 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.1391, allocations: 12 kB / 355.7 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.1392, allocations: 16 kB / 355.7 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.1397, allocations: 185.5 kB / 355.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1397, allocations: 0 / 355.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.1398, allocations: 4 kB / 355.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.1398, allocations: 8 kB / 355.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.1403, allocations: 159.8 kB / 356 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.1419, allocations: 0.7624 MB / 356.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.1424, allocations: 174.5 kB / 357 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.1427, allocations: 97.08 kB / 357.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1427, allocations: 4 kB / 357.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1428, allocations: 38.56 kB / 357.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.015e-06/0.1428, allocations: 0 / 357.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006208/0.1434, allocations: 192.7 kB / 357.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.1435, allocations: 59.41 kB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1437, allocations: 153.1 kB / 357.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1437, allocations: 33.7 kB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.1438, allocations: 132.2 kB / 357.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.1439, allocations: 39.36 kB / 357.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.1439, allocations: 4 kB / 357.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1441, allocations: 322.8 kB / 358 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.1443, allocations: 59.97 kB / 358.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.1445, allocations: 76.39 kB / 358.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1447, allocations: 67.92 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1447, allocations: 0 / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004905/0.1452, allocations: 181.4 kB / 358.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1452, allocations: 6.656 kB / 358.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1453, allocations: 0 / 358.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1453, allocations: 3.984 kB / 358.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.1456, allocations: 51.92 kB / 358.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1456, allocations: 11.91 kB / 358.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.1458, allocations: 19.83 kB / 358.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1458, allocations: 8 kB / 358.5 MB, free: 13.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.146, allocations: 125.8 kB / 358.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.146, allocations: 15.84 kB / 358.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.1461, allocations: 12.84 kB / 358.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.1461, allocations: 4 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1461, allocations: 7.984 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.1461, allocations: 0 / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.1466, allocations: 273.3 kB / 358.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1466, allocations: 0 / 358.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.1469, allocations: 35.98 kB / 359 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1469, allocations: 0 / 359 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.147, allocations: 4 kB / 359 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.147, allocations: 0 / 359 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.147, allocations: 3.984 kB / 359 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/0.1477, allocations: 315.3 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.1478, allocations: 85.02 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1478, allocations: 4 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.148, allocations: 20.03 kB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.1481, allocations: 11.98 kB / 359.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1481, allocations: 4 kB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1482, allocations: 115.8 kB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1483, allocations: 0 / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004686/0.1487, allocations: 51.75 kB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001417/0.1489, allocations: 99.25 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004525/0.1493, allocations: 131.9 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1494, allocations: 0 / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.1496, allocations: 67.98 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.1501, allocations: 23.98 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1515, allocations: 0.6748 MB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1519, allocations: 0.7243 MB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.152, allocations: 15.44 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of SimCode: time 5.82e-07/0.152, allocations: 4 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of Templates: time 0.005351/0.1574, allocations: 1.978 MB / 363.3 MB, free: 8.188 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuitCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuitCalcHelperMain.o] Error 1