Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002472/0.002478, allocations: 183.1 kB / 16.4 MB, free: 5.754 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.445/3.445, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001762/0.001762, allocations: 103.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006229/0.0006231, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5695/0.5702, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005063/0.5754, allocations: 2.342 MB / 376.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.578, allocations: 0.7638 MB / 377.6 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.5785, allocations: 5.281 kB / 377.7 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.5787, allocations: 44.86 kB / 377.7 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005731/0.5793, allocations: 128.8 kB / 377.8 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.5798, allocations: 90.11 kB / 377.9 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007348/0.5806, allocations: 269.9 kB / 378.2 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003815/0.581, allocations: 97.61 kB / 378.3 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.5813, allocations: 127.2 kB / 378.4 MB, free: 42.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.5817, allocations: 144 kB / 378.5 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.469e-05/0.5818, allocations: 18.22 kB / 378.6 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.5819, allocations: 22.59 kB / 378.6 MB, free: 42.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.582, allocations: 59.7 kB / 378.6 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.5822, allocations: 82.48 kB / 378.7 MB, free: 42.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.5827, allocations: 272.7 kB / 379 MB, free: 42.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5827, allocations: 0 / 379 MB, free: 42.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5828, allocations: 0 / 379 MB, free: 42.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.5828, allocations: 1.656 kB / 379 MB, free: 42.04 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001717/0.5845, allocations: 0.5888 MB / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.5846, allocations: 8.938 kB / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.5848, allocations: 38.28 kB / 379.6 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.5854, allocations: 286.1 kB / 379.9 MB, free: 41.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/0.5855, allocations: 24.72 kB / 379.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.5856, allocations: 27.19 kB / 379.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.5871, allocations: 305.6 kB / 380.2 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.5872, allocations: 1.531 kB / 380.2 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/0.5873, allocations: 14.59 kB / 380.3 MB, free: 41.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.5873, allocations: 10.59 kB / 380.3 MB, free: 41.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.5891, allocations: 309.9 kB / 380.6 MB, free: 40.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004334/0.5935, allocations: 1.105 MB / 381.7 MB, free: 39.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.5956, allocations: 319.8 kB / 382 MB, free: 39.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.416e-05/0.5958, allocations: 6.328 kB / 382 MB, free: 39.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.5958, allocations: 39.88 kB / 382 MB, free: 39.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 4.619e-06/0.5958, allocations: 0 / 382 MB, free: 39.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.005614/0.6015, allocations: 0.8764 MB / 382.9 MB, free: 39.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.6016, allocations: 53.81 kB / 383 MB, free: 39.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.6023, allocations: 273.8 kB / 383.2 MB, free: 39.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/0.6024, allocations: 30.73 kB / 383.3 MB, free: 39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.6026, allocations: 255.8 kB / 383.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.6027, allocations: 71.19 kB / 383.6 MB, free: 38.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.6028, allocations: 5.156 kB / 383.6 MB, free: 38.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6029, allocations: 326.2 kB / 383.9 MB, free: 38.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.6035, allocations: 91.7 kB / 384 MB, free: 38.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.6042, allocations: 187.4 kB / 384.2 MB, free: 38.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006462/0.6049, allocations: 119.1 kB / 384.3 MB, free: 38.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.6049, allocations: 0 / 384.3 MB, free: 38.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003308/0.6082, allocations: 0.5231 MB / 384.8 MB, free: 37.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004478/0.6088, allocations: 1.133 MB / 385.9 MB, free: 36.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.6088, allocations: 3.5 kB / 386 MB, free: 36.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.61, allocations: 145.7 kB / 386.1 MB, free: 36.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.6106, allocations: 59.41 kB / 386.2 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008133/0.6187, allocations: 3.33 MB / 389.5 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/0.6195, allocations: 55.64 kB / 389.5 MB, free: 33.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.6195, allocations: 8 kB / 389.5 MB, free: 33.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6196, allocations: 4.938 kB / 389.6 MB, free: 33.14 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009366/0.6205, allocations: 269.3 kB / 389.8 MB, free: 32.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6205, allocations: 4 kB / 389.8 MB, free: 32.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.6208, allocations: 53.62 kB / 389.9 MB, free: 32.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.6213, allocations: 55.91 kB / 389.9 MB, free: 32.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.6244, allocations: 2.817 MB / 392.7 MB, free: 29.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.6248, allocations: 19.75 kB / 392.8 MB, free: 29.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.6248, allocations: 16 kB / 392.8 MB, free: 29.64 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003347/0.6252, allocations: 217 kB / 393 MB, free: 29.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.6253, allocations: 27.67 kB / 393 MB, free: 29.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.6255, allocations: 34.25 kB / 393 MB, free: 29.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.6255, allocations: 3.984 kB / 393.1 MB, free: 29.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.6255, allocations: 4 kB / 393.1 MB, free: 29.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.056e-05/0.6256, allocations: 4 kB / 393.1 MB, free: 29.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007293/0.6263, allocations: 329.2 kB / 393.4 MB, free: 28.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6263, allocations: 0 / 393.4 MB, free: 28.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.6267, allocations: 39.88 kB / 393.4 MB, free: 28.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009344/0.6276, allocations: 129.6 kB / 393.5 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.6277, allocations: 4 kB / 393.6 MB, free: 28.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007134/0.6349, allocations: 3.194 MB / 396.7 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6349, allocations: 0 / 396.7 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.6378, allocations: 0.601 MB / 397.3 MB, free: 24.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.6381, allocations: 104.8 kB / 397.4 MB, free: 24.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.562e-05/0.6382, allocations: 7.953 kB / 397.5 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.6387, allocations: 36.03 kB / 397.5 MB, free: 24.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.6389, allocations: 11.98 kB / 397.5 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.6389, allocations: 11.98 kB / 397.5 MB, free: 24.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000343/0.6393, allocations: 186 kB / 397.7 MB, free: 24.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6393, allocations: 0 / 397.7 MB, free: 24.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001689/0.641, allocations: 163.6 kB / 397.9 MB, free: 24.19 MB / 298.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002082/0.6412, allocations: 99.19 kB / 398 MB, free: 24.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.6437, allocations: 0.8271 MB / 398.8 MB, free: 23.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6437, allocations: 0 / 398.8 MB, free: 23.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009261/0.6447, allocations: 361.7 kB / 399.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.6455, allocations: 48.94 kB / 399.2 MB, free: 22.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.6479, allocations: 0.7464 MB / 399.9 MB, free: 22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.6483, allocations: 0.7723 MB / 400.7 MB, free: 21.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.6485, allocations: 23.44 kB / 400.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6485, allocations: 4 kB / 400.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of Templates: time 0.01528/0.6638, allocations: 5.519 MB / 406.2 MB, free: 15.67 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGeneratorCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorCalcHelperMain.cpp:31:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorJacobian.cpp:102:26: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(1) = ((__HOM_LAMBDA_ * tmp19) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorJacobian.cpp:102:59: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(1) = ((__HOM_LAMBDA_ * tmp19) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorJacobian.cpp:132:25: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac1jac_tmp(3) = (__HOM_LAMBDA_ * tmp21);\n ^\n3 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorCalcHelperMain.o] Error 1\n'