Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002628/0.002635, allocations: 187.3 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.431/3.431, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001676/0.001676, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009878/0.000988, allocations: 8 kB / 327 MB, free: 15.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2145, allocations: 47.58 MB / 374.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005735/0.2203, allocations: 2.115 MB / 376.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.2231, allocations: 0.6831 MB / 377.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.2236, allocations: 7.938 kB / 377.4 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.2237, allocations: 27.77 kB / 377.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.2243, allocations: 95.67 kB / 377.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.2249, allocations: 55.92 kB / 377.5 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000744/0.2257, allocations: 207.6 kB / 377.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.2261, allocations: 65.09 kB / 377.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.2266, allocations: 115.5 kB / 377.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.2269, allocations: 127.5 kB / 378 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.227, allocations: 12 kB / 378.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.733e-05/0.2271, allocations: 16 kB / 378.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.243e-05/0.2273, allocations: 39.83 kB / 378.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2274, allocations: 73.56 kB / 378.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.2279, allocations: 223.6 kB / 378.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.228, allocations: 3.938 kB / 378.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.228, allocations: 0 / 378.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.228, allocations: 0 / 378.4 MB, free: 11.54 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.002581/0.2306, allocations: 0.5869 MB / 379 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.2307, allocations: 8.031 kB / 379 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.2309, allocations: 27.72 kB / 379 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.2316, allocations: 266.2 kB / 379.3 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.2317, allocations: 16.38 kB / 379.3 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.704e-05/0.2318, allocations: 20 kB / 379.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.2334, allocations: 244.5 kB / 379.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.2334, allocations: 0 / 379.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.2335, allocations: 7.984 kB / 379.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.2336, allocations: 4 kB / 379.6 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.2358, allocations: 283.5 kB / 379.8 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.2399, allocations: 0.8404 MB / 380.7 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/0.2423, allocations: 270.6 kB / 380.9 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.732e-05/0.2424, allocations: 7.984 kB / 381 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.2436, allocations: 184.9 kB / 381.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 5.1e-06/0.2437, allocations: 0 / 381.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.005218/0.2489, allocations: 0.6513 MB / 381.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.2491, allocations: 85.09 kB / 381.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/0.2498, allocations: 232.9 kB / 382.1 MB, free: 7.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/0.2499, allocations: 37.69 kB / 382.1 MB, free: 7.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.2502, allocations: 214.4 kB / 382.3 MB, free: 7.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.2503, allocations: 47.39 kB / 382.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.2503, allocations: 0 / 382.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.2506, allocations: 318.8 kB / 382.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008982/0.2515, allocations: 108.1 kB / 382.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009495/0.2525, allocations: 155.2 kB / 383 MB, free: 6.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/0.2534, allocations: 145.5 kB / 383.1 MB, free: 6.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.2535, allocations: 0 / 383.1 MB, free: 6.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002985/0.2565, allocations: 427.8 kB / 383.5 MB, free: 6.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000511/0.2571, allocations: 0.6431 MB / 384.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.2571, allocations: 4 kB / 384.2 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006722/0.2578, allocations: 68.75 kB / 384.2 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/0.2584, allocations: 47.97 kB / 384.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/0.2628, allocations: 1.518 MB / 385.8 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.2691, allocations: 43.8 kB / 385.8 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.2692, allocations: 12 kB / 385.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2693, allocations: 4 kB / 385.9 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002083/0.2714, allocations: 298.4 kB / 386.1 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.2714, allocations: 0 / 386.1 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.2716, allocations: 24.84 kB / 386.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.2723, allocations: 48.19 kB / 386.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.2746, allocations: 1.388 MB / 387.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/0.2753, allocations: 48.25 kB / 387.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.2753, allocations: 4 kB / 387.7 MB, free: 1.609 MB / 282.7 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 (20): * Single equations (assignments): 18 * 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.0004059/0.2758, allocations: 213.7 kB / 387.9 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.2759, allocations: 19.81 kB / 387.9 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.276, allocations: 29.78 kB / 387.9 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.276, allocations: 0 / 387.9 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2761, allocations: 0 / 387.9 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.2761, allocations: 4 kB / 387.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.2767, allocations: 293.4 kB / 388.2 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2767, allocations: 0 / 388.2 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.2773, allocations: 35.97 kB / 388.2 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005624/0.2779, allocations: 56.83 kB / 388.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.278, allocations: 3.984 kB / 388.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3809/0.6589, allocations: 1.501 MB / 389.8 MB, free: 19.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6589, allocations: 0.6094 kB / 389.8 MB, free: 19.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.6623, allocations: 462.8 kB / 390.3 MB, free: 19.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.6626, allocations: 96.59 kB / 390.3 MB, free: 19.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.6627, allocations: 3.828 kB / 390.4 MB, free: 19.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006133/0.6633, allocations: 36.78 kB / 390.4 MB, free: 19.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.6635, allocations: 20.34 kB / 390.4 MB, free: 19.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.6636, allocations: 6.562 kB / 390.4 MB, free: 19.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004037/0.664, allocations: 174.4 kB / 390.6 MB, free: 19.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.664, allocations: 0 / 390.6 MB, free: 19.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001228/0.6653, allocations: 109 kB / 390.7 MB, free: 19.29 MB / 282.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: 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 (11): * Single equations (assignments): 8 * 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.0002632/0.6656, allocations: 108.4 kB / 390.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003365/0.669, allocations: 0.6912 MB / 391.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.6691, allocations: 1.875 kB / 391.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.6702, allocations: 230.1 kB / 391.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.6709, allocations: 38.72 kB / 391.8 MB, free: 18.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.6733, allocations: 0.6129 MB / 392.4 MB, free: 18.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.6737, allocations: 0.7493 MB / 393.1 MB, free: 17.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.6739, allocations: 19.09 kB / 393.1 MB, free: 17.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.674, allocations: 0 / 393.1 MB, free: 17.73 MB / 282.7 MB Notification: Performance of Templates: time 0.01691/0.6909, allocations: 3.822 MB / 397 MB, free: 17.55 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.IntegratorCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorCalcHelperMain.cpp:31:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorJacobian.cpp:78:26: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(1) = ((__HOM_LAMBDA_ * tmp29) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorJacobian.cpp:78:59: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(1) = ((__HOM_LAMBDA_ * tmp29) + ((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.IntegratorCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorCalcHelperMain.o] Error 1\n'