Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009516/0.0009516, allocations: 94.98 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 192.8 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1595, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004834/0.1644, allocations: 2.505 MB / 361.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.1669, allocations: 0.7366 MB / 362.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005045/0.1674, allocations: 4 kB / 362.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1678, allocations: 39.69 kB / 362.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005296/0.1683, allocations: 91.3 kB / 362.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.1688, allocations: 91.89 kB / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007871/0.1696, allocations: 370.3 kB / 362.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.17, allocations: 97.83 kB / 362.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.1704, allocations: 123.5 kB / 362.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.1709, allocations: 151.3 kB / 363 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.618e-05/0.171, allocations: 16 kB / 363 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1711, allocations: 20 kB / 363 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.1712, allocations: 55.75 kB / 363.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.1714, allocations: 81.52 kB / 363.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.1718, allocations: 275.4 kB / 363.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1718, allocations: 0 / 363.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.1718, allocations: 4 kB / 363.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.1718, allocations: 3.938 kB / 363.4 MB, free: 9.465 MB / 302.1 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.001327/0.1732, allocations: 0.5885 MB / 364 MB, free: 8.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1732, allocations: 12.03 kB / 364 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.1734, allocations: 35.62 kB / 364.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.1739, allocations: 278.4 kB / 364.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.1739, allocations: 20.66 kB / 364.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.174, allocations: 28 kB / 364.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.1749, allocations: 345 kB / 364.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1749, allocations: 0 / 364.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.175, allocations: 16 kB / 364.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.175, allocations: 8 kB / 364.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009255/0.1759, allocations: 290.5 kB / 365 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.1786, allocations: 1.198 MB / 366.2 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.1798, allocations: 318.7 kB / 366.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006477/0.1805, allocations: 168.8 kB / 366.7 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1805, allocations: 8 kB / 366.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1806, allocations: 38.55 kB / 366.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.1806, allocations: 0 / 366.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.003638/0.1842, allocations: 0.91 MB / 367.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1843, allocations: 55.41 kB / 367.7 MB, free: 4.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.1848, allocations: 274.6 kB / 368 MB, free: 4.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.1848, allocations: 29.7 kB / 368 MB, free: 4.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.185, allocations: 207.8 kB / 368.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.551e-05/0.1851, allocations: 67.09 kB / 368.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.1851, allocations: 8 kB / 368.3 MB, free: 4.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1853, allocations: 330.8 kB / 368.6 MB, free: 4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.1858, allocations: 103.9 kB / 368.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.1863, allocations: 195.8 kB / 368.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.1867, allocations: 127.1 kB / 369 MB, free: 3.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1867, allocations: 0 / 369 MB, free: 3.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0021/0.1889, allocations: 0.5494 MB / 369.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002728/0.1891, allocations: 184.2 kB / 369.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.1892, allocations: 4 kB / 369.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009296/0.1901, allocations: 153.6 kB / 369.9 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.1905, allocations: 63.83 kB / 370 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3902/0.5807, allocations: 3.464 MB / 373.4 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.5812, allocations: 50.98 kB / 373.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.5812, allocations: 13.72 kB / 373.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5812, allocations: 6.859 kB / 373.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/0.5823, allocations: 369.4 kB / 373.9 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.5823, allocations: 7.078 kB / 373.9 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003661/0.5827, allocations: 87.69 kB / 374 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.5829, allocations: 65.06 kB / 374 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.5854, allocations: 2.815 MB / 376.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.5856, allocations: 35.86 kB / 376.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.5857, allocations: 15.41 kB / 376.9 MB, free: 15.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.5859, allocations: 223.5 kB / 377.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.586, allocations: 24.84 kB / 377.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.586, allocations: 32.88 kB / 377.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.586, allocations: 3.547 kB / 377.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.586, allocations: 1.438 kB / 377.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5861, allocations: 6.078 kB / 377.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.5881, allocations: 0.837 MB / 378 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5881, allocations: 0 / 378 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.5883, allocations: 26.12 kB / 378 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/0.5887, allocations: 153 kB / 378.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.5888, allocations: 3.75 kB / 378.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/0.5926, allocations: 3.242 MB / 381.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5927, allocations: 0.875 kB / 381.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.5942, allocations: 0.6357 MB / 382.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.5943, allocations: 109.9 kB / 382.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.5943, allocations: 2.172 kB / 382.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.5946, allocations: 31.98 kB / 382.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.5947, allocations: 21.84 kB / 382.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.5947, allocations: 4.312 kB / 382.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.5949, allocations: 195.7 kB / 382.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5949, allocations: 1.406 kB / 382.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007832/0.5957, allocations: 157.9 kB / 382.6 MB, free: 12.22 MB / 302.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: 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): 11 * 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 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001617/0.5959, allocations: 102.2 kB / 382.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.5975, allocations: 0.9158 MB / 383.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5976, allocations: 3.844 kB / 383.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.598, allocations: 357.3 kB / 384 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.5985, allocations: 50.73 kB / 384 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.5997, allocations: 0.7603 MB / 384.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.5999, allocations: 0.7661 MB / 385.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.6, allocations: 21.16 kB / 385.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.6, allocations: 0 / 385.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Templates: time 0.0104/0.6104, allocations: 5.708 MB / 391.3 MB, free: 8.789 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGeneratorCalcHelperMain.o] Error 1