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.001007/0.001008, allocations: 89.17 kB / 17.58 MB, free: 5.805 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.0008544/0.0008545, allocations: 180.5 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0005069/0.0005073, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004978/0.1099, allocations: 4.941 MB / 333.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.1128, allocations: 1.407 MB / 335.3 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005164/0.1134, allocations: 12 kB / 335.3 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1137, allocations: 119.1 kB / 335.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.1142, allocations: 238 kB / 335.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.1148, allocations: 231.7 kB / 335.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.1159, allocations: 1.113 MB / 337 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/0.1164, allocations: 308.2 kB / 337.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005576/0.117, allocations: 362.8 kB / 337.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.1175, allocations: 450.1 kB / 338.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.1176, allocations: 56 kB / 338.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.1178, allocations: 91.91 kB / 338.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1179, allocations: 171.3 kB / 338.4 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.1181, allocations: 209.2 kB / 338.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008735/0.119, allocations: 1.048 MB / 339.7 MB, free: 9.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.119, allocations: 8 kB / 339.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.119, allocations: 0 / 339.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1191, allocations: 0 / 339.7 MB, free: 9.297 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.002018/0.1211, allocations: 1.15 MB / 340.8 MB, free: 8.098 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1211, allocations: 12.03 kB / 340.9 MB, free: 8.086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.1213, allocations: 98.88 kB / 341 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.1219, allocations: 0.4924 MB / 341.4 MB, free: 7.457 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.122, allocations: 62 kB / 341.5 MB, free: 7.395 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.1221, allocations: 76 kB / 341.6 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.1236, allocations: 0.8883 MB / 342.5 MB, free: 6.418 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1237, allocations: 0 / 342.5 MB, free: 6.418 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.1237, allocations: 32 kB / 342.5 MB, free: 6.387 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.1238, allocations: 24 kB / 342.5 MB, free: 6.363 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.1252, allocations: 0.8004 MB / 343.3 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.1301, allocations: 3.099 MB / 346.4 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.1312, allocations: 0.6578 MB / 347.1 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/0.1318, allocations: 422.4 kB / 347.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.189e-05/0.1319, allocations: 16.5 kB / 347.5 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.132, allocations: 43.12 kB / 347.6 MB, free: 1.195 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 2.334e-06/0.132, allocations: 3.938 kB / 347.6 MB, free: 1.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.004306/0.1363, allocations: 2.248 MB / 349.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.1364, allocations: 56.06 kB / 349.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/0.137, allocations: 0.4989 MB / 350.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.1371, allocations: 41.7 kB / 350.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.1374, allocations: 395.5 kB / 350.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.1376, allocations: 256.2 kB / 351 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.1376, allocations: 16 kB / 351.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1378, allocations: 374.8 kB / 351.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.1384, allocations: 321.9 kB / 351.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006611/0.1391, allocations: 437.1 kB / 352.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.1397, allocations: 366.9 kB / 352.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1397, allocations: 0 / 352.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001962/0.1417, allocations: 1.06 MB / 353.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.1418, allocations: 7.938 kB / 353.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.1418, allocations: 15.89 kB / 353.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/0.1423, allocations: 176.7 kB / 353.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007731/0.1431, allocations: 191.8 kB / 354 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.1466, allocations: 2.597 MB / 356.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.1472, allocations: 40.05 kB / 356.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.1473, allocations: 35.98 kB / 356.6 MB, free: 7.836 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 (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,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000403/0.1477, allocations: 217.8 kB / 356.8 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.1478, allocations: 71.16 kB / 356.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.148, allocations: 90.16 kB / 357 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.148, allocations: 8 kB / 357 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/0.148, allocations: 4 kB / 357 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1481, allocations: 7.984 kB / 357 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009973/0.1491, allocations: 0.8417 MB / 357.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1491, allocations: 0 / 357.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/0.1497, allocations: 147.8 kB / 358 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/0.1502, allocations: 186.6 kB / 358.2 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.1503, allocations: 23.98 kB / 358.2 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/0.1536, allocations: 2.595 MB / 360.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1536, allocations: 3.953 kB / 360.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.1561, allocations: 1.412 MB / 362.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.1563, allocations: 148.2 kB / 362.4 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.1564, allocations: 20 kB / 362.4 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.157, allocations: 59.95 kB / 362.4 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.1571, allocations: 52.58 kB / 362.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.1571, allocations: 23.98 kB / 362.5 MB, free: 1.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004248/0.1576, allocations: 350.8 kB / 362.9 MB, free: 1.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1576, allocations: 0 / 362.9 MB, free: 1.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007705/0.1584, allocations: 232 kB / 363.1 MB, free: 1.141 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.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 (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,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002354/0.1586, allocations: 127.2 kB / 363.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.1606, allocations: 1.018 MB / 364.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1607, allocations: 0 / 364.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.1619, allocations: 0.64 MB / 364.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.1627, allocations: 134.2 kB / 365 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.166, allocations: 2.357 MB / 367.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.1667, allocations: 0.95 MB / 368.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.1669, allocations: 59.41 kB / 368.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1669, allocations: 4 kB / 368.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of Templates: time 0.1737/0.3406, allocations: 13.46 MB / 381.8 MB, free: 51.7 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++ 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_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