Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_3.2.3_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.001621/0.001621, allocations: 107.8 kB / 17.81 MB, free: 5.559 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.001905/0.001905, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 47.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1375, allocations: 46.63 MB / 327.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.01022/0.1478, allocations: 5.703 MB / 333 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004158/0.152, allocations: 1.442 MB / 334.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005704/0.1526, allocations: 15.94 kB / 334.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.1531, allocations: 115.1 kB / 334.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007985/0.1539, allocations: 238 kB / 334.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.155, allocations: 307.7 kB / 335.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.1566, allocations: 1.175 MB / 336.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007169/0.1573, allocations: 354.7 kB / 336.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.158, allocations: 406.5 kB / 337 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007165/0.1588, allocations: 493.8 kB / 337.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.159, allocations: 72 kB / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.1593, allocations: 104 kB / 337.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.1595, allocations: 195.2 kB / 337.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006017/0.1601, allocations: 497.5 kB / 338.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.1614, allocations: 1.083 MB / 339.4 MB, free: 8.668 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1615, allocations: 0 / 339.4 MB, free: 8.668 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1615, allocations: 0 / 339.4 MB, free: 8.668 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1615, allocations: 0 / 339.4 MB, free: 8.668 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003252/0.1647, allocations: 1.286 MB / 340.7 MB, free: 7.332 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1648, allocations: 8.031 kB / 340.7 MB, free: 7.324 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.1651, allocations: 111.7 kB / 340.8 MB, free: 7.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.1659, allocations: 0.5012 MB / 341.3 MB, free: 6.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/0.166, allocations: 62.38 kB / 341.4 MB, free: 6.609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.1662, allocations: 88.27 kB / 341.4 MB, free: 6.523 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.1684, allocations: 0.8808 MB / 342.3 MB, free: 5.629 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.1684, allocations: 0 / 342.3 MB, free: 5.629 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.1685, allocations: 36 kB / 342.4 MB, free: 5.594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.1686, allocations: 20 kB / 342.4 MB, free: 5.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.1708, allocations: 0.7808 MB / 343.2 MB, free: 4.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006684/0.1775, allocations: 3.056 MB / 346.2 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.1791, allocations: 0.6461 MB / 346.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.1801, allocations: 410.4 kB / 347.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.988e-05/0.1802, allocations: 20.48 kB / 347.3 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.1803, allocations: 47.06 kB / 347.3 MB, free: 500 kB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 3.327e-06/0.1803, allocations: 0 / 347.3 MB, free: 500 kB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.006512/0.1868, allocations: 2.182 MB / 349.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.1869, allocations: 64.06 kB / 349.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008892/0.1878, allocations: 0.4912 MB / 350.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/0.1879, allocations: 41.7 kB / 350.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.1884, allocations: 399.4 kB / 350.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.1887, allocations: 256.4 kB / 350.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.1891, allocations: 130.6 kB / 350.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002693/0.1893, allocations: 378.8 kB / 351.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/0.1902, allocations: 309.8 kB / 351.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.1913, allocations: 429.1 kB / 352 MB, free: 11.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.1932, allocations: 0.7467 MB / 352.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1933, allocations: 4 kB / 352.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002942/0.1962, allocations: 1.04 MB / 353.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.1963, allocations: 8 kB / 353.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.1963, allocations: 0 / 353.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007976/0.1971, allocations: 180.7 kB / 353.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.1983, allocations: 187.8 kB / 354.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005277/0.2036, allocations: 2.601 MB / 356.7 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009753/0.2046, allocations: 40.03 kB / 356.8 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.2047, allocations: 28.06 kB / 356.8 MB, free: 6.703 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000587/0.2053, allocations: 221.8 kB / 357 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.2055, allocations: 75.16 kB / 357.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.2057, allocations: 86.17 kB / 357.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.2057, allocations: 4 kB / 357.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/0.2057, allocations: 4 kB / 357.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2058, allocations: 7.984 kB / 357.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.2072, allocations: 0.8339 MB / 358 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2073, allocations: 0 / 358 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000986/0.2083, allocations: 147.8 kB / 358.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007723/0.209, allocations: 185.4 kB / 358.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/0.2091, allocations: 23.98 kB / 358.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00484/0.214, allocations: 2.602 MB / 361 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.214, allocations: 4 kB / 361 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003894/0.2179, allocations: 1.392 MB / 362.4 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.2183, allocations: 136.2 kB / 362.5 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.2185, allocations: 16 kB / 362.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.2193, allocations: 51.95 kB / 362.6 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.2195, allocations: 52.77 kB / 362.6 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.184e-05/0.2196, allocations: 23.98 kB / 362.6 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007241/0.2203, allocations: 358.8 kB / 363 MB, free: 272 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2203, allocations: 0 / 363 MB, free: 272 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.001218/0.2215, allocations: 220 kB / 363.2 MB, free: 52 kB / 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.C.v,Transistor2.ct.v,Transistor2.Tr.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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004255/0.222, allocations: 139.5 kB / 363.3 MB, free: 15.9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003449/0.2254, allocations: 1.002 MB / 364.3 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.2255, allocations: 0 / 364.3 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002228/0.2277, allocations: 0.6356 MB / 365 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.2295, allocations: 122.2 kB / 365.1 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00643/0.2359, allocations: 2.297 MB / 367.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.2373, allocations: 0.9539 MB / 368.3 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/0.2379, allocations: 55.41 kB / 368.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of SimCode: time 2.405e-06/0.238, allocations: 4 kB / 368.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Templates: time 0.2191/0.457, allocations: 13.57 MB / 382 MB, free: 52.16 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifierCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifierCalcHelperMain.o] Error 1