Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.Mechanics.Rotational.Examples.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") translateModel(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008066/0.0008066, allocations: 90.11 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008788/0.0008788, allocations: 197.5 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003499, allocations: 8 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.003585/0.1516, allocations: 2.511 MB / 361.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1537, allocations: 0.9867 MB / 362.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.1538, allocations: 4 kB / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.1541, allocations: 59.62 kB / 362.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.1545, allocations: 131.1 kB / 362.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.1549, allocations: 139.8 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007263/0.1557, allocations: 0.5149 MB / 363.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.1559, allocations: 94 kB / 363.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.1562, allocations: 223.2 kB / 363.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.1565, allocations: 247.1 kB / 363.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.1566, allocations: 24 kB / 363.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.1567, allocations: 75.97 kB / 363.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1569, allocations: 99.62 kB / 363.9 MB, free: 9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.157, allocations: 89.52 kB / 364 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.1574, allocations: 419.2 kB / 364.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1574, allocations: 7.938 kB / 364.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1575, allocations: 0 / 364.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1575, allocations: 0 / 364.4 MB, free: 8.488 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001252/0.1587, allocations: 0.7329 MB / 365.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.1588, allocations: 8.031 kB / 365.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.1588, allocations: 43.53 kB / 365.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.1593, allocations: 305.3 kB / 365.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.1593, allocations: 29 kB / 365.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.1594, allocations: 39.95 kB / 365.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008101/0.1602, allocations: 434.3 kB / 366 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1602, allocations: 0 / 366 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.1603, allocations: 16 kB / 366 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1603, allocations: 8 kB / 366 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008932/0.1612, allocations: 451.6 kB / 366.4 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1633, allocations: 1.308 MB / 367.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.1642, allocations: 401 kB / 368.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.1646, allocations: 254.1 kB / 368.4 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.1647, allocations: 4.438 kB / 368.4 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.1647, allocations: 39 kB / 368.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 1.533e-06/0.1647, allocations: 0 / 368.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004956/0.1697, allocations: 2.334 MB / 370.7 MB, free: 1.801 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.1698, allocations: 63.73 kB / 370.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.1701, allocations: 274.6 kB / 371.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.1701, allocations: 37.7 kB / 371.1 MB, free: 1.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1703, allocations: 172.7 kB / 371.3 MB, free: 1.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.1704, allocations: 181.5 kB / 371.5 MB, free: 1.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.1705, allocations: 16 kB / 371.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1706, allocations: 342.8 kB / 371.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.1711, allocations: 221 kB / 372 MB, free: 488 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.1715, allocations: 291.2 kB / 372.3 MB, free: 180 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.1719, allocations: 182.2 kB / 372.5 MB, free: 0 / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.172, allocations: 0 / 372.5 MB, free: 0 / 302.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.2374/0.4094, allocations: 0.7133 MB / 373.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.4094, allocations: 6.062 kB / 373.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4094, allocations: 1.938 kB / 373.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4104, allocations: 381.8 kB / 373.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.4107, allocations: 74.11 kB / 373.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.4132, allocations: 3.44 MB / 377.1 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.4137, allocations: 106 kB / 377.2 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.4138, allocations: 18.56 kB / 377.2 MB, free: 16.58 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.00026/0.414, allocations: 167.5 kB / 377.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.641e-05/0.4141, allocations: 44.44 kB / 377.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.4158, allocations: 0.709 MB / 378.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4158, allocations: 5.5 kB / 378.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4158, allocations: 5.719 kB / 378.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.4159, allocations: 9.016 kB / 378.2 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.418, allocations: 1.288 MB / 379.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.418, allocations: 0 / 379.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.4183, allocations: 59.31 kB / 379.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008289/0.4191, allocations: 359 kB / 379.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.4192, allocations: 17.56 kB / 379.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.4212, allocations: 3.413 MB / 383.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4213, allocations: 0 / 383.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.4232, allocations: 1.025 MB / 384.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.4234, allocations: 163.1 kB / 384.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.4235, allocations: 23.17 kB / 384.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.4239, allocations: 104.2 kB / 384.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.4242, allocations: 106.4 kB / 384.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.4243, allocations: 19.48 kB / 384.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.4245, allocations: 190.5 kB / 384.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4245, allocations: 0 / 384.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005195/0.425, allocations: 121.1 kB / 385 MB, free: 11.51 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load.w,quadraticSpeedDependentTorque.phi,clutch.phi_rel,clutch.w_rel) * Number of discrete variables: 10 (clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 6 (clutch.mode,clutch.startBackward,brake.mode,brake.startBackward,brake.startForward,clutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.000861/0.4259, allocations: 385.9 kB / 385.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.4274, allocations: 0.7861 MB / 386.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4274, allocations: 256 / 386.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008282/0.4282, allocations: 0.5386 MB / 386.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.4288, allocations: 71.16 kB / 386.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4308, allocations: 1.239 MB / 388 MB, free: 9.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.4311, allocations: 0.8132 MB / 388.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4312, allocations: 31.03 kB / 388.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4312, allocations: 4 kB / 388.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of Templates: time 0.01288/0.4441, allocations: 9.354 MB / 398.2 MB, free: 5.316 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.Mechanics.Rotational.Examples.SimpleGearShiftCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShiftCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShiftCalcHelperMain.o] Error 1