Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008479/0.000848, allocations: 90.91 kB / 17.63 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 198.1 kB / 18.54 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.00028, allocations: 11.98 kB / 307.3 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 51.5 MB / 358.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004559/0.1499, allocations: 3.075 MB / 361.9 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1523, allocations: 0.8613 MB / 362.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.1525, allocations: 8 kB / 362.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.1528, allocations: 59.53 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1532, allocations: 127 kB / 362.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1537, allocations: 155.8 kB / 363.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007495/0.1545, allocations: 0.5608 MB / 363.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004461/0.1549, allocations: 162.4 kB / 363.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.1553, allocations: 199.3 kB / 364 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.1556, allocations: 235 kB / 364.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.029e-05/0.1557, allocations: 32 kB / 364.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.322e-05/0.1558, allocations: 32 kB / 364.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1559, allocations: 103.6 kB / 364.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.156, allocations: 113.5 kB / 364.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.1565, allocations: 450.9 kB / 364.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.1565, allocations: 0 / 364.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1566, allocations: 3.938 kB / 364.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1566, allocations: 3.938 kB / 365 MB, free: 7.906 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001564/0.1581, allocations: 0.7813 MB / 365.7 MB, free: 7.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.1582, allocations: 8.031 kB / 365.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.1583, allocations: 55.44 kB / 365.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.1589, allocations: 321.3 kB / 366.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.1589, allocations: 33 kB / 366.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/0.159, allocations: 55.94 kB / 366.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009605/0.16, allocations: 0.5101 MB / 366.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.16, allocations: 0 / 366.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.1601, allocations: 20 kB / 366.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1601, allocations: 12 kB / 366.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/0.1608, allocations: 331.8 kB / 367.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.1633, allocations: 1.565 MB / 368.6 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.1639, allocations: 233.6 kB / 368.9 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.1641, allocations: 101.9 kB / 369 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1641, allocations: 11.98 kB / 369 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004872/0.1646, allocations: 209.7 kB / 369.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.873e-06/0.1647, allocations: 0 / 369.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001694/0.1664, allocations: 0.7934 MB / 370 MB, free: 2.535 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002056/0.1666, allocations: 316.4 kB / 370.3 MB, free: 2.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.167, allocations: 306.9 kB / 370.6 MB, free: 1.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.167, allocations: 33.7 kB / 370.6 MB, free: 1.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.1673, allocations: 263.4 kB / 370.9 MB, free: 1.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.655e-05/0.1674, allocations: 98.66 kB / 371 MB, free: 1.445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.1674, allocations: 12 kB / 371 MB, free: 1.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1676, allocations: 338.8 kB / 371.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.1678, allocations: 104.7 kB / 371.4 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.1682, allocations: 269 kB / 371.7 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.1685, allocations: 159.9 kB / 371.8 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1685, allocations: 3.953 kB / 371.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.3344/0.5029, allocations: 0.5378 MB / 372.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/0.503, allocations: 34.58 kB / 372.4 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.5031, allocations: 3 kB / 372.4 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000772/0.5038, allocations: 167.5 kB / 372.6 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.5041, allocations: 51.91 kB / 372.6 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/0.508, allocations: 4.53 MB / 377.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.5085, allocations: 73.47 kB / 377.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.5086, allocations: 15.78 kB / 377.2 MB, free: 15.3 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003491/0.5089, allocations: 164.8 kB / 377.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.509, allocations: 38.23 kB / 377.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.5091, allocations: 41.03 kB / 377.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.5091, allocations: 3.672 kB / 377.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.5092, allocations: 1.094 kB / 377.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5092, allocations: 2.062 kB / 377.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.51, allocations: 435.5 kB / 377.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.51, allocations: 0 / 377.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.5102, allocations: 37.3 kB / 377.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003744/0.5106, allocations: 103.7 kB / 378 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.5106, allocations: 7.25 kB / 378 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003963/0.5146, allocations: 5.294 MB / 383.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5146, allocations: 4.484 kB / 383.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/0.5155, allocations: 377.3 kB / 383.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.5156, allocations: 107.9 kB / 383.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.5157, allocations: 7.25 kB / 383.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.516, allocations: 39.7 kB / 383.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.5161, allocations: 29.95 kB / 383.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.5161, allocations: 10.81 kB / 383.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003308/0.5165, allocations: 218.2 kB / 384.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.495e-06/0.5165, allocations: 0 / 384.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007275/0.5172, allocations: 154.9 kB / 384.3 MB, free: 9.434 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001891/0.5174, allocations: 109.1 kB / 384.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.5186, allocations: 0.717 MB / 385.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5187, allocations: 4.25 kB / 385.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006808/0.5194, allocations: 0.5813 MB / 385.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.5198, allocations: 66.75 kB / 385.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.5211, allocations: 0.877 MB / 386.6 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.5215, allocations: 0.8139 MB / 387.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.72e-05/0.5216, allocations: 30.7 kB / 387.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5216, allocations: 0 / 387.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of Templates: time 0.01875/0.5404, allocations: 10.47 MB / 397.9 MB, free: 3.242 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.CompareLosslessLinesCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLinesCalcHelperMain.o] Error 1