Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009143, allocations: 92.06 kB / 17.58 MB, free: 6.168 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.0008848/0.0008851, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.555/1.555, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0005367/0.0005367, allocations: 8 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08669/0.08724, allocations: 47.58 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002529/0.08981, allocations: 2.198 MB / 331.2 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.09077, allocations: 0.6752 MB / 331.9 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.846e-05/0.09089, allocations: 0 / 331.9 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.091, allocations: 27.77 kB / 331.9 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.09114, allocations: 63.47 kB / 332 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.09137, allocations: 83.78 kB / 332 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.09166, allocations: 278.8 kB / 332.3 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.09182, allocations: 73.06 kB / 332.4 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.09199, allocations: 111.5 kB / 332.5 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.09214, allocations: 119.5 kB / 332.6 MB, free: 432 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.09218, allocations: 15.94 kB / 332.6 MB, free: 416 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.307e-05/0.09222, allocations: 16 kB / 332.6 MB, free: 400 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.09227, allocations: 39.83 kB / 332.7 MB, free: 360 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.09235, allocations: 69.58 kB / 332.7 MB, free: 284 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.09256, allocations: 223.6 kB / 333 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.09257, allocations: 4 kB / 333 MB, free: 56 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09258, allocations: 0 / 333 MB, free: 56 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.09259, allocations: 0 / 333 MB, free: 56 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00101/0.0936, allocations: 0.5907 MB / 333.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.09364, allocations: 12.03 kB / 333.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.09371, allocations: 23.72 kB / 333.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.09402, allocations: 266.2 kB / 333.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.09405, allocations: 16.38 kB / 333.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.0941, allocations: 27.98 kB / 333.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.09464, allocations: 244.5 kB / 334.1 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.09466, allocations: 4 kB / 334.1 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.0947, allocations: 8 kB / 334.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.09471, allocations: 4 kB / 334.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/0.0954, allocations: 275.6 kB / 334.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.09668, allocations: 0.8404 MB / 335.3 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007109/0.0974, allocations: 274.5 kB / 335.5 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.09767, allocations: 112.8 kB / 335.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.09771, allocations: 0 / 335.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004244/0.09814, allocations: 188.9 kB / 335.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.09815, allocations: 0 / 335.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008453/0.099, allocations: 329.3 kB / 336.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.09906, allocations: 81.11 kB / 336.2 MB, free: 12.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.09931, allocations: 240.9 kB / 336.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.09934, allocations: 29.7 kB / 336.5 MB, free: 12.28 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.09948, allocations: 167.9 kB / 336.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.09952, allocations: 43.44 kB / 336.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.09954, allocations: 4 kB / 336.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.09968, allocations: 330.8 kB / 337 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.1, allocations: 104.1 kB / 337.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.1004, allocations: 167 kB / 337.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.1007, allocations: 133.7 kB / 337.4 MB, free: 11.31 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1007, allocations: 3.938 kB / 337.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006643/0.1014, allocations: 341.7 kB / 337.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1015, allocations: 167.9 kB / 337.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1015, allocations: 4 kB / 337.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1015, allocations: 0 / 337.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.1017, allocations: 67.95 kB / 338 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1018, allocations: 15.92 kB / 338 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.102, allocations: 39.81 kB / 338 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.102, allocations: 16 kB / 338.1 MB, free: 10.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.65e-06/0.102, allocations: 4 kB / 338.1 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005643/0.1026, allocations: 273.5 kB / 338.3 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.1026, allocations: 0 / 338.3 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.1026, allocations: 4 kB / 338.3 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.1028, allocations: 63.94 kB / 338.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1028, allocations: 3.984 kB / 338.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.103, allocations: 39.78 kB / 338.4 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.103, allocations: 11.98 kB / 338.4 MB, free: 10.23 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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.0001437/0.1032, allocations: 216.4 kB / 338.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.1032, allocations: 23.81 kB / 338.7 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.1033, allocations: 25.83 kB / 338.7 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1033, allocations: 0 / 338.7 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1033, allocations: 0 / 338.7 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.1033, allocations: 7.953 kB / 338.7 MB, free: 9.953 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.1036, allocations: 273.4 kB / 339 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1036, allocations: 0 / 339 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.1038, allocations: 59.95 kB / 339 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1038, allocations: 0 / 339 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1038, allocations: 0 / 339 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1038, allocations: 0 / 339 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1038, allocations: 3.938 kB / 339 MB, free: 9.574 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.1047, allocations: 380.7 kB / 339.4 MB, free: 9.184 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.1047, allocations: 100.8 kB / 339.5 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.1048, allocations: 8.062 kB / 339.5 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.105, allocations: 31.97 kB / 339.6 MB, free: 9.027 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.1051, allocations: 31.89 kB / 339.6 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1051, allocations: 4 kB / 339.6 MB, free: 8.992 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1052, allocations: 172.5 kB / 339.8 MB, free: 8.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1052, allocations: 4 kB / 339.8 MB, free: 8.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.1056, allocations: 103.7 kB / 339.9 MB, free: 8.719 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001182/0.1057, allocations: 111.1 kB / 340 MB, free: 8.602 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008998/0.1066, allocations: 466.7 kB / 340.4 MB, free: 8.121 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1067, allocations: 3.938 kB / 340.4 MB, free: 8.117 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.1069, allocations: 109.1 kB / 340.5 MB, free: 8.012 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.1072, allocations: 32.42 kB / 340.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.1082, allocations: 0.5999 MB / 341.2 MB, free: 7.348 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1085, allocations: 0.7365 MB / 341.9 MB, free: 6.586 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.1085, allocations: 23.44 kB / 341.9 MB, free: 6.562 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1086, allocations: 0 / 341.9 MB, free: 6.562 MB / 286.1 MB Notification: Performance of Templates: time 0.004408/0.113, allocations: 2.902 MB / 344.8 MB, free: 3.664 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.o] Error 1