Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 92.23 kB / 16.95 MB, free: 5.953 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.001434/0.001434, allocations: 177.4 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 223.3 MB / 241.9 MB, free: 276 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.000268, allocations: 8 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 50.42 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004573/0.1215, allocations: 3.842 MB / 355.7 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.124, allocations: 1.149 MB / 356.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.1244, allocations: 12 kB / 356.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.1248, allocations: 115.1 kB / 357 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.1253, allocations: 166.7 kB / 357.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.1257, allocations: 151.7 kB / 357.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007519/0.1265, allocations: 0.6928 MB / 358 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003672/0.1269, allocations: 195.9 kB / 358.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/0.1272, allocations: 239 kB / 358.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.1276, allocations: 274.7 kB / 358.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.474e-05/0.1277, allocations: 32 kB / 358.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.801e-05/0.1277, allocations: 36 kB / 358.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1279, allocations: 107.5 kB / 358.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.128, allocations: 145.3 kB / 359 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.1285, allocations: 0.5338 MB / 359.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1285, allocations: 0 / 359.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1286, allocations: 0 / 359.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1286, allocations: 0 / 359.5 MB, free: 12.3 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001544/0.1301, allocations: 0.8612 MB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1302, allocations: 8.031 kB / 360.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1303, allocations: 71.16 kB / 360.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.1309, allocations: 384.9 kB / 360.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.1309, allocations: 49.31 kB / 360.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/0.131, allocations: 52 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.132, allocations: 0.5572 MB / 361.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1321, allocations: 3.953 kB / 361.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.1321, allocations: 24 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1322, allocations: 12 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/0.133, allocations: 429 kB / 362 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.1359, allocations: 1.852 MB / 363.8 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008273/0.1367, allocations: 0.5294 MB / 364.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008491/0.1376, allocations: 441 kB / 364.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.1376, allocations: 4.328 kB / 364.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005665/0.1382, allocations: 302.2 kB / 365.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.454e-06/0.1382, allocations: 0 / 365.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.003721/0.1419, allocations: 1.345 MB / 366.4 MB, free: 5.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.1421, allocations: 251.2 kB / 366.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.1427, allocations: 421.9 kB / 367.1 MB, free: 4.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.1427, allocations: 33.7 kB / 367.1 MB, free: 4.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.1429, allocations: 316 kB / 367.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.1431, allocations: 145.9 kB / 367.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.1431, allocations: 4 kB / 367.6 MB, free: 3.887 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1433, allocations: 358.8 kB / 367.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.1436, allocations: 157 kB / 368.1 MB, free: 3.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.1441, allocations: 325.7 kB / 368.4 MB, free: 2.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.1445, allocations: 197.5 kB / 368.6 MB, free: 2.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.1445, allocations: 7.953 kB / 368.6 MB, free: 2.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001637/0.1461, allocations: 0.8037 MB / 369.4 MB, free: 1.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1462, allocations: 11.94 kB / 369.4 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1462, allocations: 4 kB / 369.4 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/0.1469, allocations: 226.1 kB / 369.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.1472, allocations: 75.94 kB / 369.7 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3144/0.4617, allocations: 2.914 MB / 372.6 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008498/0.4626, allocations: 93.41 kB / 372.7 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.4627, allocations: 19.34 kB / 372.7 MB, free: 23.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003871/0.4631, allocations: 178.2 kB / 372.9 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.4632, allocations: 54.22 kB / 373 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.4633, allocations: 54.25 kB / 373 MB, free: 22.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.4633, allocations: 4.844 kB / 373 MB, free: 22.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4634, allocations: 0.6562 kB / 373 MB, free: 22.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.4634, allocations: 2.625 kB / 373 MB, free: 22.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.4665, allocations: 1.3 MB / 374.3 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4665, allocations: 3.688 kB / 374.3 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.4667, allocations: 40.42 kB / 374.4 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008375/0.4676, allocations: 221.5 kB / 374.6 MB, free: 22.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.4676, allocations: 9.125 kB / 374.6 MB, free: 22.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004454/0.4721, allocations: 2.818 MB / 377.4 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4721, allocations: 0 / 377.4 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.4743, allocations: 0.9719 MB / 378.4 MB, free: 20.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.4745, allocations: 125.6 kB / 378.5 MB, free: 20.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.4746, allocations: 16.69 kB / 378.5 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.4749, allocations: 49.58 kB / 378.6 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.475, allocations: 31.94 kB / 378.6 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.4751, allocations: 11.59 kB / 378.6 MB, free: 20.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004269/0.4755, allocations: 294.6 kB / 378.9 MB, free: 20.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.4755, allocations: 0 / 378.9 MB, free: 20.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008795/0.4764, allocations: 193.2 kB / 379.1 MB, free: 20.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {3 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002115/0.4766, allocations: 109.3 kB / 379.2 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.4785, allocations: 0.6942 MB / 379.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4785, allocations: 1.125 kB / 379.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008612/0.4794, allocations: 424.8 kB / 380.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005948/0.48, allocations: 82.58 kB / 380.4 MB, free: 19.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.4823, allocations: 1.138 MB / 381.5 MB, free: 18.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.4829, allocations: 0.8598 MB / 382.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.483, allocations: 34.41 kB / 382.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.364e-06/0.4831, allocations: 0 / 382.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01879/0.5019, allocations: 8.243 MB / 390.7 MB, free: 15.31 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifierCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifierCalcHelperMain.o] Error 1