Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|twoWay.LossPower|twoWay.p.i|twoWay.n1.v|twoWay.n1.i|twoWay.n2.v|twoWay.n2.i|controlledTwoWay.LossPower|controlledTwoWay.p.i|controlledTwoWay.n1.v|controlledTwoWay.n1.i|controlledTwoWay.n2.v|controlledTwoWay.n2.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches") translateModel(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|twoWay.LossPower|twoWay.p.i|twoWay.n1.v|twoWay.n1.i|twoWay.n2.v|twoWay.n2.i|controlledTwoWay.LossPower|controlledTwoWay.p.i|controlledTwoWay.n1.v|controlledTwoWay.n1.i|controlledTwoWay.n2.v|controlledTwoWay.n2.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008088/0.0008086, allocations: 91.11 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.0009006/0.0009006, allocations: 197.4 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.539/1.539, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 45.91 MB / 344.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002824, allocations: 4 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1557, allocations: 63.47 MB / 482.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.00292/0.1587, allocations: 2.48 MB / 484.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1598, allocations: 0.6548 MB / 485.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.16, allocations: 7.938 kB / 485.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.1601, allocations: 43.69 kB / 485.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1603, allocations: 75.31 kB / 485.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.1605, allocations: 67.92 kB / 485.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.1608, allocations: 370.3 kB / 485.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.1611, allocations: 94.31 kB / 485.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1612, allocations: 127.5 kB / 486 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.1614, allocations: 151.4 kB / 486.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.1614, allocations: 16 kB / 486.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.287e-05/0.1615, allocations: 20 kB / 486.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.1615, allocations: 47.83 kB / 486.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.1616, allocations: 81.52 kB / 486.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1619, allocations: 287.4 kB / 486.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1619, allocations: 0 / 486.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1619, allocations: 0 / 486.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1619, allocations: 0 / 486.6 MB, free: 0.8633 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008997/0.1628, allocations: 0.5925 MB / 487.2 MB, free: 228 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1629, allocations: 8.031 kB / 487.2 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.1629, allocations: 43.62 kB / 487.3 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.1633, allocations: 266.9 kB / 487.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.1633, allocations: 20.56 kB / 487.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.1634, allocations: 28 kB / 487.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.1639, allocations: 332.5 kB / 487.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.164, allocations: 0 / 487.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.164, allocations: 12 kB / 487.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.164, allocations: 4 kB / 487.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.1645, allocations: 258.1 kB / 488.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.1664, allocations: 1.281 MB / 489.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.1672, allocations: 493.3 kB / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.1675, allocations: 165.3 kB / 490.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1675, allocations: 4.234 kB / 490.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1675, allocations: 42.8 kB / 490.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.283e-06/0.1675, allocations: 0 / 490.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.002879/0.1704, allocations: 1.177 MB / 491.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1705, allocations: 55.34 kB / 491.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.1707, allocations: 244.9 kB / 491.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1708, allocations: 29.7 kB / 491.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1709, allocations: 168.3 kB / 491.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.171, allocations: 90.66 kB / 491.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.171, allocations: 4 kB / 491.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1712, allocations: 334.8 kB / 492.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.1714, allocations: 108 kB / 492.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.1718, allocations: 156.1 kB / 492.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.172, allocations: 124.5 kB / 492.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.172, allocations: 4 kB / 492.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001136/0.1732, allocations: 0.526 MB / 493.1 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1732, allocations: 8 kB / 493.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1732, allocations: 4.062 kB / 493.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009106/0.1741, allocations: 281.5 kB / 493.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.1743, allocations: 35.92 kB / 493.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/0.1785, allocations: 3.51 MB / 497 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.1787, allocations: 43.77 kB / 497 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.1787, allocations: 8 kB / 497 MB, free: 5.844 MB / 366.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: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * 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: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.1789, allocations: 137.8 kB / 497.1 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.179, allocations: 23.72 kB / 497.2 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.179, allocations: 42.84 kB / 497.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.179, allocations: 3.938 kB / 497.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.1791, allocations: 7.953 kB / 497.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1791, allocations: 3.984 kB / 497.2 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.1809, allocations: 0.9333 MB / 498.2 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.181, allocations: 0 / 498.2 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.181, allocations: 15.98 kB / 498.2 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008339/0.1819, allocations: 285.9 kB / 498.5 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1819, allocations: 11.98 kB / 498.5 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004032/0.1859, allocations: 3.514 MB / 0.4902 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.186, allocations: 3.953 kB / 0.4902 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.1874, allocations: 0.5826 MB / 0.4908 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.1875, allocations: 120.7 kB / 0.4909 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1876, allocations: 11.94 kB / 0.4909 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1878, allocations: 31.97 kB / 0.4909 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.1879, allocations: 31.89 kB / 0.491 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.1879, allocations: 12 kB / 0.491 GB, free: 15.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.1881, allocations: 172.5 kB / 0.4912 GB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1881, allocations: 0 / 0.4912 GB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004874/0.1886, allocations: 99.91 kB / 0.4912 GB, free: 15.43 MB / 382.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: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.1887, allocations: 99.52 kB / 0.4913 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.1899, allocations: 0.583 MB / 0.4919 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1899, allocations: 0 / 0.4919 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.1905, allocations: 449.2 kB / 0.4923 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.191, allocations: 52.36 kB / 0.4924 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.192, allocations: 0.648 MB / 0.493 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.1924, allocations: 0.764 MB / 0.4938 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.1925, allocations: 19.44 kB / 0.4938 GB, free: 12.71 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1925, allocations: 0 / 0.4938 GB, free: 12.71 MB / 382.1 MB Notification: Performance of Templates: time 0.008858/0.2013, allocations: 5.539 MB / 0.4992 GB, free: 7.18 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.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 OMCppModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitchesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitchesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitchesCalcHelperMain.o] Error 1