Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006808/0.006807, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.858/3.858, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001764/0.001764, allocations: 98.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000704/0.0007035, allocations: 8 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1774, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005864/0.1833, allocations: 2.186 MB / 376.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.1863, allocations: 0.7026 MB / 377.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.1867, allocations: 4 kB / 377.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.1869, allocations: 31.75 kB / 377.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.1875, allocations: 103.7 kB / 377.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.1881, allocations: 67.78 kB / 377.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000867/0.189, allocations: 227.5 kB / 377.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.1894, allocations: 69.08 kB / 377.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003857/0.1899, allocations: 111.5 kB / 378 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.1902, allocations: 123.5 kB / 378.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.1903, allocations: 12 kB / 378.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.416e-05/0.1905, allocations: 16 kB / 378.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1906, allocations: 47.81 kB / 378.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.1908, allocations: 81.56 kB / 378.3 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.1913, allocations: 231.6 kB / 378.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.1914, allocations: 0 / 378.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1914, allocations: 3.938 kB / 378.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1914, allocations: 0 / 378.5 MB, free: 11.41 MB / 282.7 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.002583/0.194, allocations: 0.6067 MB / 379.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.1941, allocations: 12.03 kB / 379.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.1943, allocations: 31.62 kB / 379.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/0.1951, allocations: 266.4 kB / 379.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.1951, allocations: 12.44 kB / 379.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.971e-05/0.1952, allocations: 20 kB / 379.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.1969, allocations: 259.1 kB / 379.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.197, allocations: 0 / 379.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.197, allocations: 12 kB / 379.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.1971, allocations: 4 kB / 379.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.1993, allocations: 297.5 kB / 380 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.2033, allocations: 0.8436 MB / 380.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.2052, allocations: 307.6 kB / 381.2 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-05/0.2053, allocations: 0 / 381.2 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.2065, allocations: 182 kB / 381.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 5.35e-06/0.2065, allocations: 0 / 381.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.005311/0.2119, allocations: 0.6395 MB / 382 MB, free: 7.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.2121, allocations: 106.8 kB / 382.1 MB, free: 7.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/0.2128, allocations: 274.5 kB / 382.4 MB, free: 7.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.188e-05/0.2129, allocations: 25.7 kB / 382.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.2132, allocations: 246.1 kB / 382.6 MB, free: 7.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.2133, allocations: 27.56 kB / 382.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.2134, allocations: 8 kB / 382.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2136, allocations: 326.7 kB / 383 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009044/0.2145, allocations: 103.9 kB / 383.1 MB, free: 6.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009919/0.2156, allocations: 202.3 kB / 383.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.2165, allocations: 149.6 kB / 383.4 MB, free: 6.156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.2166, allocations: 0 / 383.4 MB, free: 6.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.003235/0.2199, allocations: 451.9 kB / 383.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000843/0.2208, allocations: 1.163 MB / 385 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.2209, allocations: 4 kB / 385 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000702/0.2216, allocations: 64.81 kB / 385.1 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.2223, allocations: 55.89 kB / 385.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/0.2267, allocations: 1.53 MB / 386.7 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008913/0.2277, allocations: 59.7 kB / 386.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.2278, allocations: 12 kB / 386.8 MB, free: 2.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.2278, allocations: 7.938 kB / 386.8 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001915/0.2298, allocations: 314.5 kB / 387.1 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.2299, allocations: 7.938 kB / 387.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.23, allocations: 16.86 kB / 387.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.2307, allocations: 64 kB / 387.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.2328, allocations: 1.389 MB / 388.6 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/0.2336, allocations: 47.75 kB / 388.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.154e-05/0.2337, allocations: 12 kB / 388.6 MB, free: 0.5781 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004328/0.2342, allocations: 225.7 kB / 388.8 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2343, allocations: 23.67 kB / 388.9 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.682e-05/0.2344, allocations: 29.7 kB / 388.9 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.2345, allocations: 0 / 388.9 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.2345, allocations: 0 / 388.9 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.2345, allocations: 4 kB / 388.9 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4266/0.6611, allocations: 0.6461 MB / 389.5 MB, free: 20.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.6612, allocations: 0.9688 kB / 389.5 MB, free: 20.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.6617, allocations: 29.28 kB / 389.6 MB, free: 20.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/0.6621, allocations: 55.55 kB / 389.6 MB, free: 20.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.6622, allocations: 6.938 kB / 389.6 MB, free: 20.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/0.6659, allocations: 1.504 MB / 391.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.666, allocations: 0 / 391.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.6684, allocations: 407.8 kB / 391.5 MB, free: 19.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.6687, allocations: 106.2 kB / 391.6 MB, free: 18.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.6688, allocations: 5.281 kB / 391.6 MB, free: 18.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007594/0.6696, allocations: 42.09 kB / 391.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.6698, allocations: 17.44 kB / 391.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.6699, allocations: 7.062 kB / 391.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005177/0.6704, allocations: 189.8 kB / 391.9 MB, free: 18.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6704, allocations: 0 / 391.9 MB, free: 18.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001526/0.672, allocations: 115.4 kB / 392 MB, free: 18.89 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002676/0.6723, allocations: 109.4 kB / 392.1 MB, free: 18.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003602/0.6759, allocations: 0.7034 MB / 392.8 MB, free: 18.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.676, allocations: 1.375 kB / 392.8 MB, free: 18.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.6771, allocations: 228.3 kB / 393 MB, free: 18.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008648/0.678, allocations: 37.89 kB / 393.1 MB, free: 18.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.6805, allocations: 0.5348 MB / 393.6 MB, free: 18.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.6809, allocations: 0.7504 MB / 394.4 MB, free: 17.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.6812, allocations: 20.22 kB / 394.4 MB, free: 17.33 MB / 282.7 MB Notification: Performance of SimCode: time 2.615e-06/0.6812, allocations: 5.312 kB / 394.4 MB, free: 17.33 MB / 282.7 MB Notification: Performance of Templates: time 0.01963/0.7008, allocations: 4.02 MB / 398.4 MB, free: 17.13 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile b'clang++ -fopenmp=libomp -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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.cpp:31:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerJacobian.cpp:72:26: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(1) = ((__HOM_LAMBDA_ * tmp30) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerJacobian.cpp:72:59: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(1) = ((__HOM_LAMBDA_ * tmp30) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(0)));\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.o] Error 1\n'