Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008934/0.0008933, allocations: 96.17 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 198.7 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.694/1.694, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002705, allocations: 8 kB / 307.3 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 51.49 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005996/0.1464, allocations: 5.282 MB / 364.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003992/0.1505, allocations: 1.506 MB / 365.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.1512, allocations: 16 kB / 365.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1515, allocations: 127 kB / 365.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006638/0.1522, allocations: 245.9 kB / 366 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008071/0.153, allocations: 271.6 kB / 366.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.1544, allocations: 1.243 MB / 367.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004719/0.1549, allocations: 324.4 kB / 367.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006254/0.1556, allocations: 398.6 kB / 368.2 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.1561, allocations: 485.9 kB / 368.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.1562, allocations: 56 kB / 368.7 MB, free: 4.191 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.1565, allocations: 104 kB / 368.8 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.1567, allocations: 183.2 kB / 369 MB, free: 3.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.1569, allocations: 229.1 kB / 369.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009825/0.1579, allocations: 1.149 MB / 370.4 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.1579, allocations: 3.984 kB / 370.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1579, allocations: 0 / 370.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.1579, allocations: 0 / 370.4 MB, free: 2.523 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.002343/0.1603, allocations: 1.227 MB / 371.6 MB, free: 1.246 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1603, allocations: 8.031 kB / 371.6 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.1608, allocations: 130.7 kB / 371.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/0.1616, allocations: 0.5218 MB / 372.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.1616, allocations: 69.95 kB / 372.3 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.1618, allocations: 95.89 kB / 372.4 MB, free: 392 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.349/0.5108, allocations: 0.8515 MB / 373.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/0.511, allocations: 0.5625 kB / 373.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.5111, allocations: 38.09 kB / 373.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/0.5111, allocations: 21.16 kB / 373.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/0.514, allocations: 0.8718 MB / 374.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008586/0.5226, allocations: 3.274 MB / 377.5 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.5241, allocations: 0.6733 MB / 378.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008948/0.525, allocations: 449.7 kB / 378.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.831e-05/0.5251, allocations: 14.7 kB / 378.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.5251, allocations: 38.81 kB / 378.6 MB, free: 17.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=69): time 2.986e-06/0.5252, allocations: 1.5 kB / 378.6 MB, free: 17.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.006115/0.5313, allocations: 2.321 MB / 380.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.5314, allocations: 61.28 kB / 381 MB, free: 15.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.5325, allocations: 0.6029 MB / 381.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.573e-05/0.5326, allocations: 36.95 kB / 381.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.533, allocations: 446.7 kB / 382.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.5332, allocations: 262.9 kB / 382.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.5333, allocations: 19.41 kB / 382.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.5335, allocations: 390.2 kB / 382.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007967/0.5343, allocations: 332.7 kB / 383.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009066/0.5352, allocations: 478.8 kB / 383.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/0.536, allocations: 395.8 kB / 383.9 MB, free: 14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5361, allocations: 1.156 kB / 383.9 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002743/0.5388, allocations: 1.131 MB / 385 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.5389, allocations: 12.39 kB / 385.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.5389, allocations: 3.906 kB / 385.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/0.5396, allocations: 192.6 kB / 385.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.5407, allocations: 203.7 kB / 385.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004403/0.5451, allocations: 2.637 MB / 388.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/0.5461, allocations: 42.16 kB / 388.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.5462, allocations: 32.48 kB / 388.2 MB, free: 11.41 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.0006236/0.5469, allocations: 232.6 kB / 388.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.547, allocations: 79.69 kB / 388.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.5473, allocations: 99.53 kB / 388.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.5473, allocations: 11.22 kB / 388.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-05/0.5473, allocations: 2.844 kB / 388.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.5473, allocations: 4.359 kB / 388.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.549, allocations: 0.8937 MB / 389.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.549, allocations: 0.6094 kB / 389.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/0.5498, allocations: 153.8 kB / 389.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006752/0.5505, allocations: 175.3 kB / 389.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/0.5506, allocations: 21.48 kB / 389.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003959/0.5546, allocations: 2.646 MB / 392.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5546, allocations: 3.938 kB / 392.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/0.5577, allocations: 1.453 MB / 393.9 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.5581, allocations: 153.2 kB / 394.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.5582, allocations: 18.17 kB / 394.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.5588, allocations: 66.94 kB / 394.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.559, allocations: 54.75 kB / 394.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.5591, allocations: 24.98 kB / 394.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00068/0.5598, allocations: 422.6 kB / 394.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5598, allocations: 4 kB / 394.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001553/0.5614, allocations: 242.5 kB / 394.9 MB, free: 7.383 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.000308/0.5617, allocations: 127.2 kB / 395 MB, free: 7.281 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.5643, allocations: 1.057 MB / 396.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5643, allocations: 0.9062 kB / 396.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.5657, allocations: 0.6626 MB / 396.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.5667, allocations: 145.8 kB / 396.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.5705, allocations: 2.46 MB / 399.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.571, allocations: 0.9789 MB / 400.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.5713, allocations: 62.75 kB / 400.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of SimCode: time 1.663e-06/0.5714, allocations: 7.938 kB / 400.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of Templates: time 0.02765/0.599, allocations: 14.8 MB / 415.2 MB, free: 5.473 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifierCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifierCalcHelperMain.o] Error 1