Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.0009706, allocations: 92.59 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.001099/0.001099, allocations: 177.5 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.711/1.711, allocations: 223.3 MB / 241.9 MB, free: 80 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 4 kB / 301.4 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005655/0.1408, allocations: 5.252 MB / 357.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.1446, allocations: 1.482 MB / 358.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006698/0.1453, allocations: 19.94 kB / 358.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.1456, allocations: 126.9 kB / 358.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000683/0.1463, allocations: 245.9 kB / 359 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.1472, allocations: 263.6 kB / 359.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.1485, allocations: 1.247 MB / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.1491, allocations: 312.5 kB / 360.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006583/0.1497, allocations: 398.6 kB / 361.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.1503, allocations: 481.9 kB / 361.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.1505, allocations: 60 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.1507, allocations: 87.97 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.1509, allocations: 191.2 kB / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.1511, allocations: 221.1 kB / 362.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.1522, allocations: 1.145 MB / 363.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.1522, allocations: 8 kB / 363.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1523, allocations: 0 / 363.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.1523, allocations: 0 / 363.4 MB, free: 8.457 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002552/0.1548, allocations: 1.223 MB / 364.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.1549, allocations: 12.03 kB / 364.6 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.1551, allocations: 110.7 kB / 364.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.1559, allocations: 0.5294 MB / 365.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.1559, allocations: 70 kB / 365.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.1561, allocations: 91.91 kB / 365.4 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.1577, allocations: 0.8507 MB / 366.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.1577, allocations: 0 / 366.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-05/0.1579, allocations: 40 kB / 366.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.1579, allocations: 27.95 kB / 366.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.1595, allocations: 0.8785 MB / 367.2 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006001/0.1655, allocations: 3.261 MB / 370.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.1669, allocations: 0.6844 MB / 371.1 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000753/0.1677, allocations: 450.3 kB / 371.6 MB, free: 0 / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3089/0.4766, allocations: 9.922 kB / 371.6 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.586e-05/0.4768, allocations: 43.23 kB / 371.6 MB, free: 24.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=69): time 5.23e-06/0.4768, allocations: 1.156 kB / 371.6 MB, free: 24.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.006778/0.4836, allocations: 2.314 MB / 373.9 MB, free: 23.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.4837, allocations: 60.75 kB / 374 MB, free: 23.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.4849, allocations: 0.6096 MB / 374.6 MB, free: 23.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.903e-05/0.485, allocations: 37.05 kB / 374.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.4854, allocations: 439.5 kB / 375.1 MB, free: 23.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.4856, allocations: 261.3 kB / 375.3 MB, free: 23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.4857, allocations: 19.66 kB / 375.3 MB, free: 22.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.4859, allocations: 388 kB / 375.7 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006901/0.4866, allocations: 341.8 kB / 376.1 MB, free: 22.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000815/0.4874, allocations: 479.2 kB / 376.5 MB, free: 22.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.4882, allocations: 395.3 kB / 376.9 MB, free: 22.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.4882, allocations: 1.594 kB / 376.9 MB, free: 22.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002502/0.4907, allocations: 1.131 MB / 378 MB, free: 21.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.4907, allocations: 10.44 kB / 378.1 MB, free: 21.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.4908, allocations: 3.594 kB / 378.1 MB, free: 21.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006819/0.4915, allocations: 186.1 kB / 378.2 MB, free: 21.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4925, allocations: 210.1 kB / 378.4 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004577/0.4971, allocations: 2.64 MB / 381.1 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4982, allocations: 41.03 kB / 381.1 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.4983, allocations: 36.25 kB / 381.2 MB, free: 19.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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: 1 {(5,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006388/0.4989, allocations: 227.7 kB / 381.4 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.4991, allocations: 78.34 kB / 381.5 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.4994, allocations: 95.73 kB / 381.5 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.4994, allocations: 7.125 kB / 381.6 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.363e-05/0.4995, allocations: 8.922 kB / 381.6 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.4995, allocations: 4.969 kB / 381.6 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.5015, allocations: 0.8811 MB / 382.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.5015, allocations: 3.422 kB / 382.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008876/0.5024, allocations: 156 kB / 382.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006937/0.5031, allocations: 180.9 kB / 382.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/0.5032, allocations: 21.33 kB / 382.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004096/0.5073, allocations: 2.64 MB / 385.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5073, allocations: 0.7031 kB / 385.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.5105, allocations: 1.465 MB / 386.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.5108, allocations: 149.4 kB / 387.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.511, allocations: 19.62 kB / 387.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.5116, allocations: 61.67 kB / 387.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.5118, allocations: 51.86 kB / 387.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.5119, allocations: 23.88 kB / 387.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008305/0.5127, allocations: 421.7 kB / 387.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.465e-06/0.5127, allocations: 5.094 kB / 387.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00141/0.5141, allocations: 245.4 kB / 387.9 MB, free: 15.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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 (56): * Single equations (assignments): 55 * 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: 1 {(5,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003657/0.5145, allocations: 131.8 kB / 388 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.5175, allocations: 1.053 MB / 389 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5176, allocations: 1.219 kB / 389 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.5192, allocations: 0.6557 MB / 389.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009896/0.5202, allocations: 143.4 kB / 389.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.5246, allocations: 2.463 MB / 392.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.5254, allocations: 0.9812 MB / 393.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.5257, allocations: 71.11 kB / 393.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of SimCode: time 1.873e-06/0.5257, allocations: 0 / 393.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Templates: time 0.02543/0.5511, allocations: 14.81 MB / 408.2 MB, free: 192 kB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.DifferenceAmplifierCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifierCalcHelperMain.o] Error 1