Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008269/0.0008269, allocations: 94.19 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 195.9 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002814, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 51.5 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007097/0.1354, allocations: 7.309 MB / 366.1 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2684/0.4039, allocations: 10.37 MB / 376.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.4055, allocations: 16.91 kB / 376.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.408, allocations: 0.6773 MB / 377.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.4132, allocations: 0.9413 MB / 378.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.4161, allocations: 482.7 kB / 378.6 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005305/0.4214, allocations: 2.491 MB / 381.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006976/0.4221, allocations: 308.1 kB / 381.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.4232, allocations: 494.1 kB / 381.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000725/0.424, allocations: 0.5525 MB / 382.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.4241, allocations: 40.97 kB / 382.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.4265, allocations: 0.7048 MB / 383.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.4267, allocations: 175.7 kB / 383.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004467/0.4272, allocations: 346.9 kB / 383.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.4292, allocations: 1.526 MB / 385.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4292, allocations: 3.938 kB / 385.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4293, allocations: 0 / 385.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.183e-05/0.4293, allocations: 0 / 385.2 MB, free: 7.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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003641/0.4329, allocations: 2.007 MB / 387.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.433, allocations: 8.781 kB / 387.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004559/0.4335, allocations: 239.8 kB / 387.4 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.4354, allocations: 1.217 MB / 388.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.4354, allocations: 44.98 kB / 388.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.4355, allocations: 53.73 kB / 388.8 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.4369, allocations: 0.7115 MB / 389.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.437, allocations: 0.875 kB / 389.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.437, allocations: 24.09 kB / 389.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.437, allocations: 19.3 kB / 389.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.4383, allocations: 0.6076 MB / 390.1 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.442, allocations: 2.534 MB / 392.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.4432, allocations: 0.6656 MB / 393.3 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009504/0.4442, allocations: 0.5698 MB / 393.9 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007543/0.4518, allocations: 5.91 MB / 399.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009671/0.4528, allocations: 424.9 kB / 400.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 4.568e-06/0.4528, allocations: 1.344 kB / 400.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.006669/0.4595, allocations: 2.418 MB / 402.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.4596, allocations: 91.86 kB / 402.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.4617, allocations: 1.399 MB / 404.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.4618, allocations: 36.61 kB / 404.2 MB, free: 12.33 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007569/0.4625, allocations: 0.7902 MB / 405 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.4628, allocations: 247.6 kB / 405.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.4629, allocations: 10.62 kB / 405.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4631, allocations: 338 kB / 405.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.4637, allocations: 281.5 kB / 405.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007698/0.4645, allocations: 474.1 kB / 406.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.4652, allocations: 332.1 kB / 406.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4652, allocations: 0 / 406.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002225/0.4675, allocations: 1.206 MB / 407.8 MB, free: 8.824 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4675, allocations: 11.98 kB / 407.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/0.4676, allocations: 80 kB / 407.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.4686, allocations: 0.5903 MB / 408.5 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.4692, allocations: 153.4 kB / 408.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.4707, allocations: 1.529 MB / 410.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/0.4716, allocations: 99.3 kB / 410.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.4717, allocations: 40 kB / 410.3 MB, free: 6.281 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Q2.vbc:VARIABLE(start = 0.0 unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 12,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007185/0.4724, allocations: 293.6 kB / 410.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.4726, allocations: 197.7 kB / 410.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.4752, allocations: 1.205 MB / 412 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.4752, allocations: 4 kB / 412 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.4752, allocations: 4 kB / 412 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.4752, allocations: 3.984 kB / 412 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.4768, allocations: 0.9971 MB / 413 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001306/0.4769, allocations: 79.98 kB / 413.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.4773, allocations: 75.94 kB / 413.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.4784, allocations: 0.6475 MB / 413.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.4785, allocations: 20 kB / 413.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.4798, allocations: 1.151 MB / 415 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4798, allocations: 0 / 415 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.4824, allocations: 1.495 MB / 416.5 MB, free: 0 / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/0.4829, allocations: 290.5 kB / 416.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.4831, allocations: 15.95 kB / 416.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.4836, allocations: 57.53 kB / 416.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.4837, allocations: 48.48 kB / 416.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.4838, allocations: 31.98 kB / 416.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.4851, allocations: 0.9211 MB / 417.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4851, allocations: 0 / 417.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00126/0.4864, allocations: 435.5 kB / 418.2 MB, free: 14.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Q1.vbe,Q1.vbc,Q1.vbx,Q2.vbe,Q2.vbc,Q2.vbx) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007828/0.4871, allocations: 449.8 kB / 418.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.4892, allocations: 0.9223 MB / 419.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4892, allocations: 0 / 419.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.4904, allocations: 0.574 MB / 420.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4914, allocations: 208.8 kB / 420.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.4968, allocations: 3.448 MB / 423.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/0.4976, allocations: 1.226 MB / 425.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.4978, allocations: 79.44 kB / 425.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4978, allocations: 0 / 425.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of Templates: time 0.04237/0.5402, allocations: 28.23 MB / 453.4 MB, free: 11 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3.Examples.Spice3BenchmarkDifferentialPairCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPairCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPairCalcHelperMain.o] Error 1