Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000854/0.0008538, allocations: 95.62 kB / 17.63 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.00168, allocations: 197.2 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.597/1.597, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002166/0.0002166, allocations: 8 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004556/0.1307, allocations: 3.88 MB / 362.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1326, allocations: 1.192 MB / 363.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.1328, allocations: 19.94 kB / 363.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1331, allocations: 111.2 kB / 364 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.1334, allocations: 162.7 kB / 364.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1337, allocations: 147.8 kB / 364.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006595/0.1344, allocations: 0.6966 MB / 365 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.1347, allocations: 207.9 kB / 365.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.1351, allocations: 243 kB / 365.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1354, allocations: 270.7 kB / 365.7 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/0.1354, allocations: 32 kB / 365.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.1356, allocations: 36 kB / 365.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1357, allocations: 115.5 kB / 365.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.1358, allocations: 141.3 kB / 366 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.1363, allocations: 0.5494 MB / 366.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1363, allocations: 0 / 366.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1363, allocations: 0 / 366.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1363, allocations: 0 / 366.6 MB, free: 6.078 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.001379/0.1377, allocations: 0.8649 MB / 367.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.1377, allocations: 11.97 kB / 367.5 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/0.1381, allocations: 99.14 kB / 367.5 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.1386, allocations: 392.8 kB / 367.9 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.1386, allocations: 37.31 kB / 368 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.1387, allocations: 59.94 kB / 368 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009459/0.1397, allocations: 0.5496 MB / 368.6 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1397, allocations: 0 / 368.6 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.1398, allocations: 27.98 kB / 368.6 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1398, allocations: 12 kB / 368.6 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008224/0.1406, allocations: 425 kB / 369 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.1433, allocations: 1.863 MB / 370.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.1441, allocations: 0.5364 MB / 371.4 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000828/0.1449, allocations: 426.4 kB / 371.8 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.145, allocations: 8.328 kB / 371.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/0.1455, allocations: 306.1 kB / 372.2 MB, free: 232 kB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.413e-06/0.1455, allocations: 0 / 372.2 MB, free: 232 kB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.3107/0.4562, allocations: 1.347 MB / 373.5 MB, free: 19.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.4564, allocations: 241.1 kB / 373.7 MB, free: 19.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/0.4572, allocations: 431.8 kB / 374.2 MB, free: 19.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.4572, allocations: 36.23 kB / 374.2 MB, free: 18.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.4575, allocations: 311.5 kB / 374.5 MB, free: 18.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.4576, allocations: 131.8 kB / 374.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.4577, allocations: 14.22 kB / 374.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4578, allocations: 358.7 kB / 375 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.4583, allocations: 154.7 kB / 375.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.4588, allocations: 328.2 kB / 375.5 MB, free: 18.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.4593, allocations: 198.1 kB / 375.7 MB, free: 18.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4593, allocations: 1.062 kB / 375.7 MB, free: 18.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00242/0.4617, allocations: 0.8156 MB / 376.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.4618, allocations: 5.5 kB / 376.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.4618, allocations: 4.781 kB / 376.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009622/0.4628, allocations: 221.3 kB / 376.7 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.4631, allocations: 74.92 kB / 376.8 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/0.4679, allocations: 2.942 MB / 379.7 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006119/0.4686, allocations: 90.12 kB / 379.8 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.4686, allocations: 20.25 kB / 379.8 MB, free: 16.16 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.0003191/0.4689, allocations: 176 kB / 380 MB, free: 16.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.469, allocations: 53.64 kB / 380 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.4691, allocations: 58.72 kB / 380.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.4691, allocations: 3.875 kB / 380.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4692, allocations: 5.156 kB / 380.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.4692, allocations: 2.062 kB / 380.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.4717, allocations: 1.304 MB / 381.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4717, allocations: 5.656 kB / 381.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.4719, allocations: 38.27 kB / 381.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007127/0.4726, allocations: 213.2 kB / 381.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.4727, allocations: 11.33 kB / 381.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004392/0.4771, allocations: 2.815 MB / 384.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.4771, allocations: 0.7031 kB / 384.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.4792, allocations: 0.9651 MB / 385.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.4794, allocations: 137.3 kB / 385.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.4794, allocations: 11.33 kB / 385.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.4798, allocations: 48.81 kB / 385.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4799, allocations: 38.53 kB / 385.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.48, allocations: 13.23 kB / 385.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004347/0.4804, allocations: 299.9 kB / 386 MB, free: 12.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4804, allocations: 0 / 386 MB, free: 12.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000883/0.4813, allocations: 183.8 kB / 386.2 MB, free: 12.5 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.0002067/0.4815, allocations: 116 kB / 386.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.4837, allocations: 0.6853 MB / 387 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.4837, allocations: 1.344 kB / 387 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000977/0.4847, allocations: 423.2 kB / 387.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.4854, allocations: 82.39 kB / 387.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.4879, allocations: 1.15 MB / 388.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.4885, allocations: 0.8683 MB / 389.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.4886, allocations: 32.55 kB / 389.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4886, allocations: 0 / 389.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Templates: time 0.01546/0.504, allocations: 8.303 MB / 397.8 MB, free: 6.902 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifierCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifierCalcHelperMain.o] Error 1