Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.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.Lines.SmoothStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") translateModel(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 86.08 kB / 17.63 MB, free: 5.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001762/0.001762, allocations: 193.7 kB / 18.54 MB, free: 4.957 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: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 4 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 51.5 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.00593/0.164, allocations: 4.79 MB / 363.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.1676, allocations: 1.368 MB / 365 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005253/0.1681, allocations: 19.94 kB / 365 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.1687, allocations: 166.8 kB / 365.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009043/0.1697, allocations: 333.9 kB / 365.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.1703, allocations: 223.7 kB / 365.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3685/0.5388, allocations: 33.72 MB / 399.4 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006154/0.5451, allocations: 3.773 MB / 403.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007141/0.5522, allocations: 3.148 MB / 406.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008255/0.5605, allocations: 3.662 MB / 410 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001744/0.5623, allocations: 492 kB / 410.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/0.5654, allocations: 496 kB / 411 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.5673, allocations: 1.762 MB / 412.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004019/0.5713, allocations: 1.627 MB / 414.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.5853, allocations: 11.43 MB / 425.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.5854, allocations: 0 / 425.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.5854, allocations: 0 / 425.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005688/0.586, allocations: 4 kB / 425.8 MB, free: 9.328 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1820 * Number of variables: 1820 Notification: Performance of Generate backend data structure: time 0.0278/0.6138, allocations: 10.03 MB / 435.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.6139, allocations: 12.91 kB / 435.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.619, allocations: 0.8846 MB / 436.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.6307, allocations: 4.365 MB / 441.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006454/0.6314, allocations: 0.5452 MB / 441.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003671/0.6351, allocations: 0.7613 MB / 442.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03279/0.6679, allocations: 10.87 MB / 453.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.668, allocations: 4 kB / 453.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/0.6693, allocations: 308 kB / 453.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.6694, allocations: 172 kB / 453.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02454/0.694, allocations: 9.916 MB / 463.6 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1009/0.7949, allocations: 34.34 MB / 498 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01705/0.812, allocations: 6.926 MB / 0.4931 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01029/0.8223, allocations: 6.773 MB / 0.4997 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/0.8228, allocations: 56.23 kB / 0.4997 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.823, allocations: 131.7 kB / 0.4999 GB, free: 2.734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=539): time 9.678e-06/0.823, allocations: 0 / 0.4999 GB, free: 2.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=539): time 0.02011/0.8431, allocations: 9.263 MB / 0.5089 GB, free: 9.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.8433, allocations: 171 kB / 0.5091 GB, free: 9.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/0.8557, allocations: 5.751 MB / 0.5147 GB, free: 3.379 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001574/0.8573, allocations: 152.1 kB / 0.5148 GB, free: 3.227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002674/0.86, allocations: 2.938 MB / 0.5177 GB, free: 280 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002856/0.8629, allocations: 1.931 MB / 0.5196 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.8641, allocations: 127.9 kB / 0.5197 GB, free: 14.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005843/0.8647, allocations: 0.5461 MB / 0.5202 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008273/0.873, allocations: 3.736 MB / 0.5239 GB, free: 9.934 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008326/0.8813, allocations: 4.199 MB / 0.528 GB, free: 5.703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009387/0.8907, allocations: 4.422 MB / 0.5323 GB, free: 1.258 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.35e-05/0.8908, allocations: 0 / 0.5323 GB, free: 1.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.5654/1.456, allocations: 9.287 MB / 0.5414 GB, free: 136.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/1.456, allocations: 8.969 kB / 0.5414 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/1.456, allocations: 6.594 kB / 0.5414 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003984/1.457, allocations: 69.47 kB / 0.5415 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0079/1.465, allocations: 1.758 MB / 0.5432 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/1.466, allocations: 1.412 MB / 0.5445 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006697/1.473, allocations: 0.705 MB / 0.5452 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.474, allocations: 170.8 kB / 0.5454 GB, free: 135 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (775): * Single equations (assignments): 774 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007761/1.482, allocations: 2.42 MB / 0.5478 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002373/1.484, allocations: 0.5484 MB / 0.5483 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/1.486, allocations: 0.7359 MB / 0.549 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.551e-05/1.486, allocations: 54.94 kB / 0.5491 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.474e-05/1.486, allocations: 5.156 kB / 0.5491 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.801e-05/1.487, allocations: 25.41 kB / 0.5491 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.501, allocations: 7.917 MB / 0.5568 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-05/1.501, allocations: 1.438 kB / 0.5568 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00694/1.508, allocations: 1.527 MB / 0.5583 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/1.508, allocations: 44.03 kB / 0.5584 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00072/1.509, allocations: 191.4 kB / 0.5585 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008263/1.51, allocations: 1.287 MB / 0.5598 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.51, allocations: 0 / 0.5598 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/1.525, allocations: 10.61 MB / 0.5702 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003008/1.528, allocations: 0.8451 MB / 0.571 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/1.529, allocations: 175.9 kB / 0.5712 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004666/1.534, allocations: 0.8351 MB / 0.572 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000458/1.535, allocations: 283.8 kB / 0.5722 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004048/1.535, allocations: 156 kB / 0.5724 GB, free: 121.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005346/1.54, allocations: 4.077 MB / 0.5764 GB, free: 117.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.54, allocations: 0 / 0.5764 GB, free: 117.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006286/1.547, allocations: 2.177 MB / 0.5785 GB, free: 115.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 116 (firstOrder.y,oLine1.L[1].i,oLine1.L[2].i,oLine1.C[1].v,oLine5.L[1].i,oLine5.L[2].i,oLine5.L[3].i,oLine5.L[4].i,oLine5.L[5].i,oLine5.L[6].i,oLine5.C[1].v,oLine5.C[2].v,oLine5.C[3].v,oLine5.C[4].v,oLine5.C[5].v,oLine50.L[1].i,oLine50.L[2].i,oLine50.L[3].i,oLine50.L[4].i,oLine50.L[5].i,oLine50.L[6].i,oLine50.L[7].i,oLine50.L[8].i,oLine50.L[9].i,oLine50.L[10].i,oLine50.L[11].i,oLine50.L[12].i,oLine50.L[13].i,oLine50.L[14].i,oLine50.L[15].i,oLine50.L[16].i,oLine50.L[17].i,oLine50.L[18].i,oLine50.L[19].i,oLine50.L[20].i,oLine50.L[21].i,oLine50.L[22].i,oLine50.L[23].i,oLine50.L[24].i,oLine50.L[25].i,oLine50.L[26].i,oLine50.L[27].i,oLine50.L[28].i,oLine50.L[29].i,oLine50.L[30].i,oLine50.L[31].i,oLine50.L[32].i,oLine50.L[33].i,oLine50.L[34].i,oLine50.L[35].i,oLine50.L[36].i,oLine50.L[37].i,oLine50.L[38].i,oLine50.L[39].i,oLine50.L[40].i,oLine50.L[41].i,oLine50.L[42].i,oLine50.L[43].i,oLine50.L[44].i,oLine50.L[45].i,oLine50.L[46].i,oLine50.L[47].i,oLine50.L[48].i,oLine50.L[49].i,oLine50.L[50].i,oLine50.L[51].i,oLine50.C[1].v,oLine50.C[2].v,oLine50.C[3].v,oLine50.C[4].v,oLine50.C[5].v,oLine50.C[6].v,oLine50.C[7].v,oLine50.C[8].v,oLine50.C[9].v,oLine50.C[10].v,oLine50.C[11].v,oLine50.C[12].v,oLine50.C[13].v,oLine50.C[14].v,oLine50.C[15].v,oLine50.C[16].v,oLine50.C[17].v,oLine50.C[18].v,oLine50.C[19].v,oLine50.C[20].v,oLine50.C[21].v,oLine50.C[22].v,oLine50.C[23].v,oLine50.C[24].v,oLine50.C[25].v,oLine50.C[26].v,oLine50.C[27].v,oLine50.C[28].v,oLine50.C[29].v,oLine50.C[30].v,oLine50.C[31].v,oLine50.C[32].v,oLine50.C[33].v,oLine50.C[34].v,oLine50.C[35].v,oLine50.C[36].v,oLine50.C[37].v,oLine50.C[38].v,oLine50.C[39].v,oLine50.C[40].v,oLine50.C[41].v,oLine50.C[42].v,oLine50.C[43].v,oLine50.C[44].v,oLine50.C[45].v,oLine50.C[46].v,oLine50.C[47].v,oLine50.C[48].v,oLine50.C[49].v,oLine50.C[50].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 (538): * Single equations (assignments): 537 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008888/1.548, allocations: 385.9 kB / 0.5789 GB, free: 114.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01035/1.558, allocations: 7.729 MB / 0.5864 GB, free: 107.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/1.558, allocations: 11.8 kB / 0.5864 GB, free: 107.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004167/1.562, allocations: 3.493 MB / 0.5898 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00947/1.572, allocations: 1.344 MB / 0.5912 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04582/1.617, allocations: 26.94 MB / 0.6175 GB, free: 75.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005891/1.623, allocations: 5.031 MB / 0.6224 GB, free: 70.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003722/1.627, allocations: 427.4 kB / 0.6228 GB, free: 69.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/1.627, allocations: 0 / 0.6228 GB, free: 69.73 MB / 446.1 MB Notification: Performance of Templates: time 0.535/2.162, allocations: 143.4 MB / 0.7628 GB, free: 113.4 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.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.Lines.SmoothStepCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStepCalcHelperMain.o] Error 1