Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.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.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008791/0.0008793, allocations: 97.53 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.001142/0.001142, allocations: 198.8 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.53/1.53, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002853, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1503, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002558/0.1529, allocations: 1.46 MB / 360.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.1553, allocations: 0.94 MB / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.1555, allocations: 4 kB / 361.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.1557, allocations: 15.84 kB / 361.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.01e-05/0.1558, allocations: 31.78 kB / 361.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.1562, allocations: 67.91 kB / 361.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.1565, allocations: 235.4 kB / 361.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1567, allocations: 41.84 kB / 361.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009967/0.1577, allocations: 0.6394 MB / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.158, allocations: 155.6 kB / 362.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.158, allocations: 8 kB / 362.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.606e-05/0.1581, allocations: 8 kB / 362.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1582, allocations: 139.5 kB / 362.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1584, allocations: 121.4 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.159, allocations: 0.5926 MB / 363.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.159, allocations: 0 / 363.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.159, allocations: 4 kB / 363.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.159, allocations: 0 / 363.2 MB, free: 9.668 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001227/0.1603, allocations: 1.048 MB / 364.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1603, allocations: 8.031 kB / 364.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.1605, allocations: 71.16 kB / 364.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.161, allocations: 371.5 kB / 364.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.1611, allocations: 24.12 kB / 364.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.1611, allocations: 16 kB / 364.8 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.1617, allocations: 250.2 kB / 365 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1618, allocations: 0 / 365 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.1618, allocations: 12 kB / 365 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1618, allocations: 0 / 365 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.1621, allocations: 140.5 kB / 365.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.1634, allocations: 0.7316 MB / 365.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.1638, allocations: 194.5 kB / 366.1 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.1641, allocations: 176.8 kB / 366.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1641, allocations: 4.125 kB / 366.3 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007236/0.1649, allocations: 393.9 kB / 366.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/0.1649, allocations: 0 / 366.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001755/0.1666, allocations: 0.9239 MB / 367.6 MB, free: 5.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003487/0.167, allocations: 289 kB / 367.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.1685, allocations: 0.949 MB / 368.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.1686, allocations: 41.7 kB / 368.8 MB, free: 3.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1687, allocations: 130 kB / 369 MB, free: 3.555 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.1688, allocations: 63.27 kB / 369 MB, free: 3.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.1689, allocations: 4 kB / 369 MB, free: 3.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.1691, allocations: 338.8 kB / 369.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.1694, allocations: 120.2 kB / 369.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.1697, allocations: 172.6 kB / 369.6 MB, free: 2.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.1701, allocations: 346.3 kB / 370 MB, free: 2.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1701, allocations: 0 / 370 MB, free: 2.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001296/0.1714, allocations: 0.7565 MB / 370.7 MB, free: 1.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003641/0.1718, allocations: 241.6 kB / 371 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.1718, allocations: 4 kB / 371 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.1719, allocations: 0 / 371 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.1719, allocations: 11.92 kB / 371 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.172, allocations: 8.047 kB / 371 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.1723, allocations: 31.92 kB / 371 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.1725, allocations: 116.1 kB / 371.1 MB, free: 1.199 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007911/0.1733, allocations: 0.6057 MB / 371.8 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.1734, allocations: 79.06 kB / 371.8 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.1736, allocations: 126.9 kB / 372 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1737, allocations: 7.938 kB / 372 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.1737, allocations: 4 kB / 372 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1737, allocations: 3.953 kB / 372 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2961/0.4698, allocations: 1.407 MB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4698, allocations: 0.9375 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.4699, allocations: 8.953 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.4699, allocations: 0.5 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.909e-05/0.47, allocations: 30.31 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.47, allocations: 1.594 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.47, allocations: 4.234 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.4719, allocations: 0.9567 MB / 374.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009242/0.4728, allocations: 422.9 kB / 374.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.473, allocations: 22.48 kB / 374.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.4733, allocations: 36.19 kB / 374.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/0.4736, allocations: 58.23 kB / 374.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002969/0.4739, allocations: 113.1 kB / 375 MB, free: 18.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00164/0.4755, allocations: 0.6902 MB / 375.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.4755, allocations: 0 / 375.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000746/0.4763, allocations: 100.8 kB / 375.8 MB, free: 18.72 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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002306/0.4765, allocations: 142.2 kB / 375.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.4776, allocations: 0.8894 MB / 376.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4776, allocations: 0 / 376.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006657/0.4783, allocations: 0.7547 MB / 377.6 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4794, allocations: 236.6 kB / 377.8 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.4816, allocations: 1.514 MB / 379.3 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.4822, allocations: 0.94 MB / 380.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.4824, allocations: 55.8 kB / 380.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4824, allocations: 4.188 kB / 380.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Templates: time 0.01035/0.4927, allocations: 5.36 MB / 385.7 MB, free: 14.85 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.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.Digital.Examples.WiredXCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.o] Error 1