Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009141/0.0009142, allocations: 87.11 kB / 17.58 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008338/0.0008338, allocations: 186.4 kB / 18.48 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 224.6 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004597, allocations: 15.94 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 47.59 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002189/0.1247, allocations: 1.455 MB / 330.4 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.1272, allocations: 0.9409 MB / 331.4 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.1274, allocations: 0 / 331.4 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.1277, allocations: 23.86 kB / 331.4 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.1279, allocations: 27.78 kB / 331.4 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.1286, allocations: 71.91 kB / 331.5 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005571/0.1292, allocations: 227.4 kB / 331.7 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.1294, allocations: 53.83 kB / 331.8 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.1307, allocations: 0.6356 MB / 332.4 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.131, allocations: 155.6 kB / 332.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.985e-05/0.1311, allocations: 8 kB / 332.6 MB, free: 460 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.1312, allocations: 8 kB / 332.6 MB, free: 452 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.1314, allocations: 139.6 kB / 332.7 MB, free: 312 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.1315, allocations: 121.3 kB / 332.8 MB, free: 184 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006437/0.1322, allocations: 0.5926 MB / 333.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.1322, allocations: 11.94 kB / 333.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1322, allocations: 0 / 333.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.1323, allocations: 0 / 333.4 MB, free: 15.57 MB / 286.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.001762/0.134, allocations: 1.036 MB / 334.5 MB, free: 14.44 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1341, allocations: 12.03 kB / 334.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.1343, allocations: 79.06 kB / 334.6 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.135, allocations: 363.6 kB / 334.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.135, allocations: 16.19 kB / 334.9 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.1351, allocations: 20 kB / 335 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.1357, allocations: 247.2 kB / 335.2 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1357, allocations: 0 / 335.2 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.1357, allocations: 12 kB / 335.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1358, allocations: 0 / 335.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.1361, allocations: 136.6 kB / 335.3 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.1375, allocations: 0.7393 MB / 336.1 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.1379, allocations: 194.5 kB / 336.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.1382, allocations: 176.8 kB / 336.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1382, allocations: 0 / 336.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00057/0.1388, allocations: 389.9 kB / 336.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.1388, allocations: 0 / 336.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001531/0.1403, allocations: 0.9323 MB / 337.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/0.1405, allocations: 281 kB / 338 MB, free: 10.62 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.1421, allocations: 0.9529 MB / 339 MB, free: 9.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.1421, allocations: 37.7 kB / 339 MB, free: 9.617 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1422, allocations: 126 kB / 339.1 MB, free: 9.488 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.1423, allocations: 67.19 kB / 339.2 MB, free: 9.422 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1424, allocations: 12 kB / 339.2 MB, free: 9.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1425, allocations: 334.8 kB / 339.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.1428, allocations: 128.2 kB / 339.7 MB, free: 8.949 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.1431, allocations: 155.9 kB / 339.8 MB, free: 8.785 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.1435, allocations: 349.5 kB / 340.2 MB, free: 8.395 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1435, allocations: 0 / 340.2 MB, free: 8.395 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001062/0.1446, allocations: 0.7566 MB / 340.9 MB, free: 7.582 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.1447, allocations: 245.6 kB / 341.2 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1447, allocations: 0 / 341.2 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1448, allocations: 4 kB / 341.2 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.1448, allocations: 11.89 kB / 341.2 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1448, allocations: 4 kB / 341.2 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.1451, allocations: 31.92 kB / 341.2 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.1453, allocations: 112.2 kB / 341.3 MB, free: 7.133 MB / 286.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.0007431/0.146, allocations: 0.6084 MB / 341.9 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1462, allocations: 79.06 kB / 342 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.1464, allocations: 130.9 kB / 342.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1464, allocations: 0 / 342.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.1464, allocations: 7.953 kB / 342.1 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1464, allocations: 0 / 342.1 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.1483, allocations: 1.425 MB / 343.6 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1483, allocations: 0 / 343.6 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-05/0.1483, allocations: 4 kB / 343.6 MB, free: 4.711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1484, allocations: 4 kB / 343.6 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/0.1484, allocations: 27.98 kB / 343.6 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1484, allocations: 3.953 kB / 343.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1484, allocations: 0 / 343.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.1497, allocations: 0.9609 MB / 344.6 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/0.1503, allocations: 431.6 kB / 345 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.1505, allocations: 24 kB / 345 MB, free: 3.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.1507, allocations: 23.98 kB / 345 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.1509, allocations: 63.88 kB / 345.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.151, allocations: 111.9 kB / 345.2 MB, free: 2.988 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009906/0.152, allocations: 0.686 MB / 345.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 0 / 345.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006145/0.1527, allocations: 92 kB / 346 MB, free: 2.215 MB / 286.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.0002151/0.1529, allocations: 151.2 kB / 346.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.154, allocations: 0.8857 MB / 347 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.154, allocations: 0 / 347 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007162/0.1548, allocations: 0.7453 MB / 347.8 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009844/0.1558, allocations: 242.9 kB / 348 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.1581, allocations: 1.512 MB / 349.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/0.1588, allocations: 0.9479 MB / 350.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1589, allocations: 55.33 kB / 350.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.245e-06/0.1589, allocations: 0 / 350.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Templates: time 0.009421/0.1684, allocations: 5.352 MB / 355.9 MB, free: 8.031 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.o] Error 1